[issue34751] Hash collisions for tuples
Jeroen Demeyer
report at bugs.python.org
Fri Sep 21 15:38:50 EDT 2018
Jeroen Demeyer <J.Demeyer at UGent.be> added the comment:
> Further, that example specifically exploits that "hash(-1) == hash(-2)"
No, it does not. There is no hashing of -1 involved in the example hash((1,0,0)) == hash((1,-2,-2)).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34751>
_______________________________________
More information about the Python-bugs-list
mailing list