diff options
author | Raymond Hettinger <python@rcn.com> | 2004-06-10 18:42:15 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-06-10 18:42:15 (GMT) |
commit | 57c2d930f688ca50248241919bd815c85bf39939 (patch) | |
tree | 6b233b7dfd1e3ced0697399af4e510673fe849ce /Demo/xml | |
parent | bce036b49ee84333a325a932013592662dbe09d9 (diff) | |
download | cpython-57c2d930f688ca50248241919bd815c85bf39939.zip cpython-57c2d930f688ca50248241919bd815c85bf39939.tar.gz cpython-57c2d930f688ca50248241919bd815c85bf39939.tar.bz2 |
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.)
Diffstat (limited to 'Demo/xml')
0 files changed, 0 insertions, 0 deletions