"William Stein" <[EMAIL PROTECTED]> writes:

> On 7/10/07, Nick Alexander <[EMAIL PROTECTED]> wrote:
>>
>> [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.
>
> Actually, neither Robert Bradshaw or I made any changes to
> the __cmp__ - related code in SageX versus Pyrex, so they should
> behave identically unless something was done in Pyrex recently.

IIRC, that is the case.  I really meant it when I said "newer versions
of pyrex".

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