Author stutzbach
Recipients Alexander.Belopolsky, mark.dickinson, r.david.murray, stutzbach, tim.peters, twb, wsanchez
Date 2010-04-27.18:12:01
SpamBayes Score 0.000621214
Marked as misclassified No
Message-id <1272391931.26.0.647723245187.issue8005@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-04-27 18:12:11stutzbachsetrecipients: + stutzbach, tim.peters, mark.dickinson, wsanchez, r.david.murray, twb, Alexander.Belopolsky
2010-04-27 18:12:11stutzbachsetmessageid: <1272391931.26.0.647723245187.issue8005@psf.upfronthosting.co.za>
2010-04-27 18:12:01stutzbachlinkissue8005 messages
2010-04-27 18:12:01stutzbachcreate