None is negative?

wheres pythonmonks wherespythonmonks at
Tue Aug 3 22:17:04 CEST 2010

I did the google search... I must be blind as I don't see any hits...

None is negative in Python?  (v2.6)

>>> if None < -9999999.99: print "hi"


>>> if -9999999 > None: print "hi"


Is there a way to have the comparison raise an exception?


More information about the Python-list mailing list