#7965: quo_rem attribute error (probably easy to fix?)
--------------------------------+-------------------------------------------
   Reporter:  was               |       Owner:  AlexGhitza
       Type:  defect            |      Status:  new       
   Priority:  major             |   Milestone:  sage-4.3.2
  Component:  basic arithmetic  |    Keywords:            
Work_issues:                    |      Author:            
   Upstream:  N/A               |    Reviewer:            
     Merged:                    |  
--------------------------------+-------------------------------------------
 {{{
 sage: 5.quo_rem(2/3)
 ---------------------------------------------------------------------------
 AttributeError                            Traceback (most recent call
 last)

 /virtual/scratch/wstein/build/sage-4.3.1.rc0/<ipython console> in
 <module>()

 /virtual/scratch/wstein/build/sage-4.3.1.rc0/local/lib/python2.6/site-
 packages/sage/rings/integer.so in sage.rings.integer.Integer.quo_rem
 (sage/rings/integer.c:16710)()

 /virtual/scratch/wstein/build/sage-4.3.1.rc0/local/lib/python2.6/site-
 packages/sage/structure/element.so in
 sage.structure.element.FieldElement.quo_rem
 (sage/structure/element.c:15715)()

 AttributeError: 'sage.rings.rational.Rational' object has no attribute
 '_parent'
 }}}

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