#14019: equality is broken for Posets
---------------------------------+------------------------------------------
Reporter: ncohen | Owner: sage-combinat
Type: defect | Status: needs_info
Priority: major | Milestone: sage-5.7
Component: combinatorics | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Nathann Cohen | Merged in:
Dependencies: | Stopgaps:
---------------------------------+------------------------------------------
Changes (by ncohen):
* cc: chapoton, aschilling (added)
* status: new => needs_info
Comment:
Ok guys, you did it, I have no way to write a new `__eq__` method in
`Poset` which is not "self is other" without getting an infinite loop.
If I want to actually compare the data of the posets (hasse diagram,
vertices), then comparing the data will raise a call to compare their
parents, and I'm gone for another loop.
Now what ?
Nathann
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14019#comment:6>
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].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.