What happened to __cmp__() in Python 3.x?

Xavier Ho contact at xavierho.com
Mon Aug 17 03:09:14 EDT 2009


On Sun, Aug 16, 2009 at 10:33 PM, Mark Lawrence <breamoreboy at yahoo.co.uk>wrote:

>
> I wasn't discussing __cmp__, I was referring to the quote by Chris Rebert
> from the Python docs regarding the rich comparison methods, a discrepancy
> between the documentation and the implementation as noted in the link that I
> gave, and an indication that the issue raised on this discrepancy is still
> open.  As Terry Reedy has mentioned __lt__ elsewhere, you should be aware of
> the discrepancy, otherwise you could go charging off down the wrong track.
>  FWIW it was Terry who raised the issue 4395, I'm sure that he could explain
> the ramifications of it all far better than I ever could, so I'll sign out.


Oh, I see. Thanks for informing then. =)

Cheers,
Xav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090817/a29b8718/attachment-0001.html>


More information about the Python-list mailing list