Message104345
Thanks for pointing that out.
For what it's worth, if I understand the documentation correctly the goal is to prevent the following misleading comparisons:
date with time
datetime with date
datetime with time
datetime w/ timezone with datetime w/o timezone
time w/ timezone with time w/o timezone
It's unfortunate that it throws a TypeError for all comparisons (unlike complex numbers which only throw a TypeError when comparing with numbers), but I suppose you are right that it's too late to fix this in 2.x. |
|
Date |
User |
Action |
Args |
2010-04-27 18:12:11 | stutzbach | set | recipients:
+ stutzbach, tim.peters, mark.dickinson, wsanchez, r.david.murray, twb, Alexander.Belopolsky |
2010-04-27 18:12:11 | stutzbach | set | messageid: <1272391931.26.0.647723245187.issue8005@psf.upfronthosting.co.za> |
2010-04-27 18:12:01 | stutzbach | link | issue8005 messages |
2010-04-27 18:12:01 | stutzbach | create | |
|