Gonzalo Tornaría
Gonzalo Tornaría
No nesting of exceptions is necessary: ``` $ sage ┌────────────────────────────────────────────────────────────────────┐ │ SageMath version 10.5, Release Date: 2024-12-04 │ │ Using Python 3.13.1. Type "help()" for help. │ └────────────────────────────────────────────────────────────────────┘ sage: from...
Here is a PoC fix: ```diff --- a/src/cysignals/signals.pyx +++ b/src/cysignals/signals.pyx @@ -28,6 +28,7 @@ from libc.stdio cimport freopen, stdin from cpython.ref cimport Py_XINCREF, Py_CLEAR from cpython.exc cimport (PyErr_Occurred, PyErr_NormalizeException, PyErr_Fetch,...
I understand what you mean. But how are we sure that every integer that was used since `sig_on()` will be deallocated before the exception is handled? This is what I...
I have no idea what this is doing. @kiwifb can you explain? It seems to me the autogen step is run once, when preparing the sdist. With or without this...
> @tornaria (ntl) I'm not sure I understand the error. For some reason (libtool?) it using an incorrect location for `crti.o` and `crtn.o` Is this an issue with the ntl...
Test failure is fixed by: ``` --- a/src/flint/test/test_all.py +++ b/src/flint/test/test_all.py @@ -5019,7 +5019,7 @@ while True: # Ensure f is invertible f = R_test.random_element() - if not f.constant_coefficient().is_zero(): + if...
Here's the result with this PR applied: ``` ********************************************************************** 1 item had failures: 1 of 2 in flint.types.acb.acb.pow ***Test Failed*** 1 failure and 18 skipped tests. flint.test: all 62 tests...
Thanks. Just guessing: maybe wasm32 uses float64 but i686 uses float80. Hence this might go away if flintlib were compiled with `-mfpmath=sse` or similar. We don't do that because supposedly...
Note: sagemath 10.4 in our repo is already patched to support numpy 2.0, but it will need to be rebuilt.
The point of having a os-level interrupt handler is to rollback the process (using longjmp) to a state where the python signal handler can be called. IOW, I don't think...