Serhiy Storchaka added the comment: int < NoneType is not the same as int() < None.
---------- title: Fix do_richcompare() error message: remove parenthesis from type names -> Special-case NoneType() in do_richcompare() _______________________________________ 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