Serhiy Storchaka added the comment: It makes the error message just non-relevant (or misleading) to the error. It refers to int < NoneType, but actually the exception is raised when you compare an int instance with a NoneType instance, not two types theirself. Comparing *any two types* raises an exception, but comparing instances of two types can return a result.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25210> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com