#8695: UniqueRepresentations implements __eq__ but not __ne__
------------------------------+---------------------------------------------
Reporter: hivert | Owner: hivert
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.4
Component: misc | Keywords: UniqueRepresentation, equality
Author: Florent Hivert | Upstream: N/A
Reviewer: Nicolas Borie | Merged:
Work_issues: |
------------------------------+---------------------------------------------
Comment(by mhansen):
Replying to [comment:4 nthiery]:
> I am just not sure about forcing UniqueRepresentation to inherit from
object. Let's discuss this over the phone.
The only thing that inheriting from object does is make it a "new-style"
class in Python, which is what everything should be now. In the 3.x
series, old-style classes are removed.
http://docs.python.org/reference/datamodel.html
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8695#comment:7>
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.