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 epicfaace
Recipients belopolsky, christian.heimes, epicfaace, lemburg, rhettinger, serhiy.storchaka
Date 2019-08-14.03:30:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565753411.21.0.0292295399367.issue29535@roundup.psfhosted.org>
In-reply-to
Content
I've added a PR which should fix this. Do you think the documentation should also be updated to change "By default, the :meth:`__hash__` values of str, bytes and datetime objects are "salted" with an unpredictable random value." to "By default, the :meth:`__hash__` values of str, bytes, datetime.date, datetime.time and datetime.datetime objects are "salted" with an unpredictable random value."?

Technically, there are other objects in datetime such as datetime.relativedelta whose hash values are _not_ non-deterministic.
History
Date User Action Args
2019-08-14 03:30:11epicfaacesetrecipients: + epicfaace, lemburg, rhettinger, belopolsky, christian.heimes, serhiy.storchaka
2019-08-14 03:30:11epicfaacesetmessageid: <1565753411.21.0.0292295399367.issue29535@roundup.psfhosted.org>
2019-08-14 03:30:11epicfaacelinkissue29535 messages
2019-08-14 03:30:11epicfaacecreate