Is 0 > None??

Manus Hand manushand at home.com
Fri Aug 31 04:32:00 EDT 2001


It was in 1.5.1, but it wasn't in 1.5.2 or 2.0 or even (I think) 2.1.

But it is again in 2.1.1.  Aauugghh!  Now I know that maybe I shouldn't
have written code that depends on where None compares to the integer
values, but hey, it sure made for a very handy cmp() function!

Would it be possible to get a permanent decision on this one, please?

If I got my vote, I would like 0 < sys.minint

Version 2.1.1 has 0 > sys.maxint

Thanks,
Manus




More information about the Python-list mailing list