Hi,

There seems to be a quite strange behaviour of _richcmp in
structure.element.pyx. If the parents need to be coerced, afterwards
left._richcmp_ is called. But if they don't, left.__cmp__ is called,
hence
assuming a totally ordered parent. I don't see any reason for such a
behaviour and it renders correct and easy implementations of
partially
ordered parents almost impossible.
Shouldn't this be revised? I might do it.

Best regards,
Martin Raum

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to