#12636: 0.is_squarefree() raises a PariError
--------------------------------+-------------------------------------------
   Reporter:  johanbosman       |          Owner:  AlexGhitza             
       Type:  defect            |         Status:  new                    
   Priority:  major             |      Milestone:  sage-5.0               
  Component:  basic arithmetic  |       Keywords:  pari integer squarefree
Work_issues:                    |       Upstream:  N/A                    
   Reviewer:                    |         Author:                         
     Merged:                    |   Dependencies:                         
--------------------------------+-------------------------------------------
 {{{
 0.is_sage: 0.is_squarefree()
 ---------------------------------------------------------------------------
 PariError                                 Traceback (most recent call
 last)

 /Users/jgbosman/<ipython console> in <module>()

 /usr/local/share/sage/sage-5.0.beta4/local/lib/python2.7/site-
 packages/sage/rings/integer.so in sage.rings.integer.Integer.is_squarefree
 (sage/rings/integer.c:27127)()

 /usr/local/share/sage/sage-5.0.beta4/local/lib/python2.7/site-
 packages/sage/libs/pari/gen.so in sage.libs.pari.gen._pari_trap
 (sage/libs/pari/gen.c:49413)()

 PariError:  (5)
 }}}
 This bug was probably introduced with the recent Pari upgrade, as older
 versions of Sage do output `False`.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12636>
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