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 wsanchez
Recipients wsanchez
Date 2010-02-23.21:27:35
SpamBayes Score 0.015611561
Marked as misclassified No
Message-id <1266960457.45.0.360868730978.issue8005@psf.upfronthosting.co.za>
In-reply-to
Content
datetime's comparison methods do not return NotImplemented when they should.  As a result, if you implement a class that can compare itself with a datetime object, this only works if your class on on the left side of the comparison operation.

This is true for equality as well as ordering operations.
History
Date User Action Args
2010-02-23 21:27:37wsanchezsetrecipients: + wsanchez
2010-02-23 21:27:37wsanchezsetmessageid: <1266960457.45.0.360868730978.issue8005@psf.upfronthosting.co.za>
2010-02-23 21:27:36wsanchezlinkissue8005 messages
2010-02-23 21:27:36wsanchezcreate