Python 3 __cmp__ semantic change?

Terry Reedy tjreedy at
Sun Nov 23 19:23:39 CET 2008

George Sakkis wrote:
> On Nov 23, 6:14 am, Arnaud Delobelle <arno... at> wrote:
>> So how did I get it into my head that defining __eq__ would create the
>> correct behaviour for __ne__ automatically?  And more puzzlingly, how
>> come it is what actually happens?  Which should I believe: the
>> documentation or the implementation?
> According to Guido, the implementation:

ps to Arnaud: upgrade to rc3, which has bug fixes and many doc changes.

More information about the Python-list mailing list