[EMAIL PROTECTED] writes:

> I'm trying to implement a poset class in sagex.  The following output 
> indicates to me that __cmp__ gets called on the sagex class no matter what.  
> This means that partial ordering cannot be implemented in sagex (rather, it 
> can, but can't take advantage of the comparison overloading that python 
> offers).

sagex and newer versions of pyrex do different things here.  I think
what you want can be done, but you should talk to Robert Bradshaw.
The keywords are richcmp, IIRC.

Nick

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to