#9893: Make PARI *not* catch signals
--------------------------+-------------------------------------------------
 Reporter:  jdemeyer      |         Owner:  was           
     Type:  enhancement   |        Status:  needs_work    
 Priority:  major         |     Milestone:  sage-4.6.1    
Component:  interfaces    |    Resolution:  duplicate     
 Keywords:  pari signals  |        Author:  Jeroen Demeyer
 Upstream:  N/A           |      Reviewer:                
   Merged:                |   Work_issues:                
--------------------------+-------------------------------------------------
Changes (by robertwb):

  * status:  needs_review => needs_work


Comment:

 In general I'm a fan of using try...finally to handle sig_on/sig_off where
 there are many exits to a function, especially if exceptions are involved.
 (It can also alleviate the use of temporary variables to return something,
 but that's a matter of taste.)

 Speed is important for new_gen_from_mpz_t, which is why we don't set up
 signals for "small" values. This behavior should be preserved.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9893#comment:12>
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.

Reply via email to