Python 3 __cmp__ semantic change?

Christian Heimes lists at cheimes.de
Thu Nov 20 16:43:30 EST 2008


Johannes Bauer wrote:
> Hello group,
> 
> I'm porting some code of mine to Python 3. One class has the __cmp__
> operator overloaded, but comparison doesn't seem to work anymore with that:

__cmp__ is gone

Christian




More information about the Python-list mailing list