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 arigo
Recipients arigo, christian.heimes
Date 2017-02-11.15:51:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
That's not what the docs say.  E.g.: says

    By default, the __hash__() values of str, bytes and datetime objects are “salted” with an unpredictable random value. Although they remain constant within an individual Python process, they are not predictable between repeated invocations of Python.

Morever, this command really prints changing numbers:

~/svn/python/3.7-debug/python -c "import datetime;print(hash(d                      atetime.datetime(2016,10,10,0,0,0,0)))"
Date User Action Args
2017-02-11 15:51:02arigosetrecipients: + arigo, christian.heimes
2017-02-11 15:51:02arigosetmessageid: <>
2017-02-11 15:51:02arigolinkissue29535 messages
2017-02-11 15:51:02arigocreate