Message237644
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). |
|
Date |
User |
Action |
Args |
2015-03-09 13:14:03 | r.david.murray | set | recipients:
+ r.david.murray, secalert |
2015-03-09 13:14:03 | r.david.murray | set | messageid: <1425906843.7.0.285637374126.issue23620@psf.upfronthosting.co.za> |
2015-03-09 13:14:03 | r.david.murray | link | issue23620 messages |
2015-03-09 13:14:03 | r.david.murray | create | |
|