#5811: [with patch, needs review] Sage 3.4.1.rc3: Fedora 10/64 - 
type_reducible.py
doctest failure due to '__cmp__"
----------------------+-----------------------------------------------------
 Reporter:  mabshoff  |       Owner:  mhansen   
     Type:  defect    |      Status:  assigned  
 Priority:  blocker   |   Milestone:  sage-3.4.1
Component:  doctest   |    Keywords:            
----------------------+-----------------------------------------------------
Changes (by mhansen):

  * owner:  mabshoff => mhansen
  * status:  new => assigned


Comment:

 {{{
 <mhansen> mabs: Yep
 <mabs> Have you seen #5811 ?  [17:12]
 <mabs> It can be reproduced on the farm, i.e. the FC10 test box.
 <mabs> wstein can create you an account.
 <mhansen> Actually, it don't think we need that.  [17:14]
 <mhansen> It most likely comes from this line in cartan_type.py
 <mhansen>         if other.__class__ != self.__class__:
 <mhansen>             return cmp(self.__class__, other.__class__)
 <mhansen>
 <mabs> So you think it is a bug?  [17:15]
 <mhansen> Well, I think there are no guarantees on the results of class
           comparisons.
 <mhansen> I would be fine with just changing that doctest since the order
 of
           the types doesn't really matter.  [17:17]
 <mhansen> What matters most is deciding if they are equal or not.
 }}}

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