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 <1486828262.56.0.679765118456.issue29535@psf.upfronthosting.co.za>
In-reply-to
Content
That's not what the docs say.  E.g.: https://docs.python.org/3/reference/datamodel.html#object.__hash__ 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)))"
History
Date User Action Args
2017-02-11 15:51:02arigosetrecipients: + arigo, christian.heimes
2017-02-11 15:51:02arigosetmessageid: <1486828262.56.0.679765118456.issue29535@psf.upfronthosting.co.za>
2017-02-11 15:51:02arigolinkissue29535 messages
2017-02-11 15:51:02arigocreate