Message349636
I've added a PR which should fix this. Do you think the documentation should also be updated to change "By default, the :meth:`__hash__` values of str, bytes and datetime objects are "salted" with an unpredictable random value." to "By default, the :meth:`__hash__` values of str, bytes, datetime.date, datetime.time and datetime.datetime objects are "salted" with an unpredictable random value."?
Technically, there are other objects in datetime such as datetime.relativedelta whose hash values are _not_ non-deterministic. |
|
Date |
User |
Action |
Args |
2019-08-14 03:30:11 | epicfaace | set | recipients:
+ epicfaace, lemburg, rhettinger, belopolsky, christian.heimes, serhiy.storchaka |
2019-08-14 03:30:11 | epicfaace | set | messageid: <1565753411.21.0.0292295399367.issue29535@roundup.psfhosted.org> |
2019-08-14 03:30:11 | epicfaace | link | issue29535 messages |
2019-08-14 03:30:11 | epicfaace | create | |
|