[issue29535] datetime hash is deterministic in some cases

Christian Heimes report at bugs.python.org
Wed Aug 14 17:04:49 EDT 2019


Christian Heimes <lists at cheimes.de> added the comment:

PEP 456 explains why hash of str and bytes must be randomized.

I don't know any reason why hash of datetime objects must be randomized. They can be deterministic like floats and ints.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue29535>
_______________________________________


More information about the Python-bugs-list mailing list