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 jorend
Recipients
Date 2007-04-20.22:19:16
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
tiran, having timedelta objects comparable with numbers is going a bit too far.  You end up with:

timedelta(0, 1) == 1   but   hash(timedelta(0, 1)) != hash(1)

This breaks dictionaries.
History
Date User Action Args
2007-08-23 15:56:38adminlinkissue1665292 messages
2007-08-23 15:56:38admincreate