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, benjamin.peterson, christian.heimes, dmalcolm, epicfaace, lemburg, rhettinger, serhiy.storchaka
Date 2019-08-14.23:49:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565826571.05.0.24296177243.issue29535@roundup.psfhosted.org>
In-reply-to
Content
Randomizing the hash of datetime objects was first proposed in https://bugs.python.org/issue13703#msg151796.

For the same reasons as str and bytes are non-deterministically hashed in in PEP 456, shouldn't numerics, datetime objects, and tuples be non-deterministically hashed as well? This is for the reason that they can all be used as dictionary keys (additionally, hash(n) begins to repeat when n is a large enough number) -- so it seems like they are also susceptible to the hash collision DoS attacks.
History
Date User Action Args
2019-08-14 23:49:31epicfaacesetrecipients: + epicfaace, lemburg, rhettinger, belopolsky, christian.heimes, benjamin.peterson, dmalcolm, serhiy.storchaka
2019-08-14 23:49:31epicfaacesetmessageid: <1565826571.05.0.24296177243.issue29535@roundup.psfhosted.org>
2019-08-14 23:49:31epicfaacelinkissue29535 messages
2019-08-14 23:49:30epicfaacecreate