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 christian.heimes
Recipients arigo, christian.heimes, lemburg
Date 2017-02-11.16:06:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I only checked Python 2.7. For Python 3.x it's a bit more complicated:

timedelta: PyObject_Hash(), always the same hash value
date: _Py_HashBytes(), always a randomized hash value
time: _Py_HashBytes() for offset = None, PyObject_Hash() for offset != 0
datetime: _Py_HashBytes() for offset = None, PyObject_Hash() for offset != 0
timezone: PyObject_Hash() (inherited from object)

I don't know why the datetime module doesn't use hash randomization for datetime and time objects with an offset. MAL is the master of (date)time. He might know.
Date User Action Args
2017-02-11 16:06:01christian.heimessetrecipients: + christian.heimes, lemburg, arigo
2017-02-11 16:06:01christian.heimessetmessageid: <>
2017-02-11 16:06:01christian.heimeslinkissue29535 messages
2017-02-11 16:06:01christian.heimescreate