Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

Because the default behavior is different in Python 2 and Python 3. In Python 3 
this is a TypeError. In Python 2 all objects are comparable by default.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31893>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to