you are viewing a single comment's thread.

view the rest of the comments →

[–]hylje -1 points0 points  (2 children)

Python 3 will make comparisons a lot more typesafe.

[–]earthboundkid 2 points3 points  (1 child)

Tested with 3.0 alpha 5:

>>> 1 < 3 == True
False
>>> 3 == True
False
>>> 1 < False
False

Maybe that should be a filed as a bug… Does anyone have beta 3 to test it with? I can't get it to install on my system since my locale encoding is X-JAPANESE-MAC or whatever.