#6062: [with patch; needs review] QQ method is_padic_square fails when argument 
is
python int
------------------------------+---------------------------------------------
 Reporter:  tornaria          |       Owner:  tornaria
     Type:  defect            |      Status:  new     
 Priority:  major             |   Milestone:          
Component:  basic arithmetic  |    Keywords:          
------------------------------+---------------------------------------------
 With sage-4.0.alpha0:
 {{{
 sage: QQ(5).is_padic_square(int(2))
 ...
 AttributeError: 'int' object has no attribute 'is_prime'
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6062>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
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