Many places in Sage have

try:
    sig_on()
    ...
finally:
    sig_off()

which is wrong (if sig_on() throws an exception, there should be no sig_off()). This should be replaced by

sig_on()
try:
    ...
finally:
    sig_off()

Most of these are in sage/libs/ppl.pyx and in sage/symbolic/expression.pyx

Trac #15488 does this and it would nice to have a quick review, since it touches many things and will bitrot quickly. Moreover, I think it should be an easy review. Needless to say, doctests pass with the patch.

Thanks,
Jeroen.

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to