R. David Murray added the comment:

In Python2, all objects were comparable (except DateTime stuff...and maybe 
there was one other exception, I forget).  We did indeed decide this was a bug 
and fixed it in Python3.  Now objects of different types are comparable if only 
if at least one of them supports being compared with the other.  Python does, 
however, know how to compare Float and Decimal correctly, since Python 3.2 (see 
the What's New document for Python 3.2).

----------
nosy: +r.david.murray
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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

Reply via email to