Skip Montanaro <skip at pobox.com> wrote in news:mailman.1007090560.18985.python-list at python.org: > You were relying on undocumented behavior. There is no obvious ordering > between integers and None. > So why don't comparisons of this type generate an exception?