[Python-Dev] NotImplemented comparisons

Facundo Batista facundobatista at gmail.com
Fri Aug 3 15:04:24 CEST 2007

2007/8/2, Facundo Batista <facundobatista at gmail.com>:

> > Given that you 'should' return an int, doing elsewise has undefined
> > results.
> I'll fix decimal to always return sane values from __cmp__, :)

Done, thanks again everybody!

.    Facundo

Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/

More information about the Python-Dev mailing list