This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients r.david.murray, secalert
Date 2015-03-09.13:14:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1425906843.7.0.285637374126.issue23620@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2015-03-09 13:14:03r.david.murraysetrecipients: + r.david.murray, secalert
2015-03-09 13:14:03r.david.murraysetmessageid: <1425906843.7.0.285637374126.issue23620@psf.upfronthosting.co.za>
2015-03-09 13:14:03r.david.murraylinkissue23620 messages
2015-03-09 13:14:03r.david.murraycreate