]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Add a final permutation step to the tuple hash function.
authorRaymond Hettinger <python@rcn.com>
Thu, 10 Jun 2004 18:42:15 +0000 (18:42 +0000)
committerRaymond Hettinger <python@rcn.com>
Thu, 10 Jun 2004 18:42:15 +0000 (18:42 +0000)
commit57c2d930f688ca50248241919bd815c85bf39939
tree6b233b7dfd1e3ced0697399af4e510673fe849ce
parentbce036b49ee84333a325a932013592662dbe09d9
Add a final permutation step to the tuple hash function.

Prevents a collision pattern that occurs with nested tuples.
(Yitz Gale provided code that repeatably demonstrated the weakness.)
Misc/ACKS
Objects/tupleobject.c