#9343: upgrade pari to version 2.4.3
---------------------------+------------------------------------------------
   Reporter:  was          |       Owner:  tbd       
       Type:  enhancement  |      Status:  new       
   Priority:  major        |   Milestone:  sage-4.5.1
  Component:  packages     |    Keywords:            
     Author:               |    Upstream:  N/A       
   Reviewer:               |      Merged:            
Work_issues:               |  
---------------------------+------------------------------------------------

Comment(by cremona):

 Replying to [comment:59 was]:
 > > But I don't know how to do this.
 >
 > Look in interfaces/gp.py and/or expect.py.

 Sorted,  I added one line (line 170) in sage/interfaces/gp.py which says
 {{{
         self._eval_line('default(breakloop,0);')
 }}}
 to get the command run everytime a new gp instance is created.  Now we get
 {{{
 sage: gp.eval('1/0')
 '  ***   at top-level: 1/0\n  ***                  ^--\n  *** _/_:
 division by zero'
 }}}
 (followed by a new sage: prompt) and also
 {{{
 RR(gp(exp(1)))
 2.71828182845905
 sage:
 }}}
 with no problems.

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