Re: numeric emulation and the rich comparison operators

2008-07-13 Thread Ethan Furman
Gabriel Genellina wrote: En Thu, 10 Jul 2008 17:37:42 -0300, Ethan Furman <[EMAIL PROTECTED]> escribi�: 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__? If your obje

Re: numeric emulation and the rich comparison operators

2008-07-11 Thread Gabriel Genellina
En Thu, 10 Jul 2008 17:37:42 -0300, Ethan Furman <[EMAIL PROTECTED]> escribi�: 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__? If your objects obey the trichotomy law

numeric emulation and the rich comparison operators

2008-07-11 Thread Ethan Furman
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! -- Ethan -- http://mail.python.org/mailman/listinfo/python-list