Commit db7ad33
fix custom signal handling, which was broken after #166
There was a typo in #181: when the pari sigint handling was converted
to a general mechanism, the line
```
PARI_SIGINT_pending = 0;
```
got translated into
```
custom_signal_unblock();
```
instead of the correct
```
custom_set_pending_signal(0);
```
This error didn't take effect until #166 removed the pari sigint
handling.
This causes some doctest failures in sagemath:
```
src/sage/coding/linear_code.py
src/sage/geometry/integral_points.pxi
src/sage/rings/integer.pyx
src/sage/rings/polynomial/polynomial_element.pyx
```
related to mishandling of AlarmInterrupt.
See: https://github.com/sagemath/cysignals/pull/181/files#r19048850371 parent e26017e commit db7ad33
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
591 | 591 | | |
592 | 592 | | |
593 | 593 | | |
594 | | - | |
| 594 | + | |
595 | 595 | | |
596 | 596 | | |
597 | 597 | | |
| |||
0 commit comments