#9640: Change PARI error catching mechanism
----------------------------------------+----------------------------
       Reporter:  jdemeyer              |        Owner:  was
           Type:  enhancement           |       Status:  needs_review
       Priority:  major                 |    Milestone:  sage-5.13
      Component:  interfaces            |   Resolution:
       Keywords:  pari error interrupt  |    Merged in:
        Authors:  Peter Bruin           |    Reviewers:
Report Upstream:  N/A                   |  Work issues:
         Branch:                        |       Commit:
   Dependencies:                        |     Stopgaps:
----------------------------------------+----------------------------

Comment (by pbruin):

 Replying to [comment:12 jdemeyer]:
 > Why not set `cb_pari_handle_exception = _pari_handle_exception` globally
 and have `pari_catch_sig_on()` simply be '''equal''' to `sig_on()` (and
 then of course change `pari_catch_sig_on()` back to `sig_on()`).
 Good question.  That would mean we simply always have PARI exception
 handling enabled, which would be more efficient and should not make any
 difference since PARI shouldn't be called outside of `sig_on()/sig_off()`
 anyway.  I'll try it out.

--
Ticket URL: <http://trac.sagemath.org/ticket/9640#comment:14>
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 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-trac.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to