#9564: libsingular exponentiation can not be interrupted
-------------------------+--------------------------------------------------
Reporter: SimonKing | Owner: tba
Type: defect | Status: new
Priority: critical | Milestone: sage-4.6
Component: c_lib | Keywords: KeyboardInterrupt interrupt singular
exception cython
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-------------------------+--------------------------------------------------
Changes (by jdemeyer):
* keywords: KeyboardInterrupt libsingular exponentiation =>
KeyboardInterrupt interrupt singular
exception cython
Comment:
The problem is the following:
When an interrupt is caught, the program acts as if {{{_sig_on}}} returns
the value 0. So, when using {{{_sig_on}}}, functions should be declared
{{{except 0}}} and not {{{except -1}}}, which is what the Singular
functions do.
The attached patch is purely proof-of-concept showing some improvement
(but it doesn't fully fix the problem).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9564#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.