#10053: Equality testing instead of comparisons in differential forms code
-----------------------------------+----------------------------------------
   Reporter:  jvkersch             |       Owner:  burcin                     
       Type:  defect               |      Status:  needs_review               
   Priority:  major                |   Milestone:                             
  Component:  symbolics            |    Keywords:  forms, comparison, equality
     Author:  Joris Vankerschaver  |    Upstream:  N/A                        
   Reviewer:                       |      Merged:                             
Work_issues:                       |  
-----------------------------------+----------------------------------------

Comment(by jason):

 Try again: According to python docs for !__eq!__
 ([http://docs.python.org/reference/datamodel.html#object.__eq__
 http://docs.python.org/reference/datamodel.html#object.__eq]!__), you
 should define !__ne!__ as well for != comparison.

 If the objects are not hashable, you might also set !__hash!__=None (see
 the note about that function
 at [http://docs.python.org/reference/datamodel.html#object.__hash__
 http://docs.python.org/reference/datamodel.html#object.__hash]!__)

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