numeric emulation and the rich comparison operators

Ethan Furman ethan at
Thu Jul 10 22:37:42 CEST 2008

Greetings, List!

Still working on my Measure class, and my next question is... (drum roll 
please ;)

What are the advantages of using __[eq|ne|lt|gt|le|ge]__ vs __cmp__?

Thanks in advance!

More information about the Python-list mailing list