Hi Travis, On 2014-10-26, Travis Scrimshaw <tsc...@ucdavis.edu> wrote: > We need to get away from the __cmp__ to make the transition easier. Plus I > would think most parents are not totally ordered.
Just for clarification: What exactly do you mean by "get away from the __cmp__"? Are you saying we should use __richcmp__? Or are you saying we should use __eq__, __le__, __lt__ etc directly? I could be mistaken, but I think __eq__ and friends are old-fashioned, and nowadays they are implemented by using __richcmp__. And then there is the complication that we should implement stuff so that the coercion system has a chance to work---see the comments around the source code of src.sage.structure.element.Element.__cmp__ and ...__richcmp__, Best regards, Simon -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.