commit | 27e403ebe914294d307348d2b83c39f96059e133 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Thu Jun 10 21:38:41 2004 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Thu Jun 10 21:38:41 2004 +0000 |
tree | 418e9e758aa28a8458564a140063f70d6c2acec1 | |
parent | 57c2d930f688ca50248241919bd815c85bf39939 [diff] |
Fixups to the hash function for frozensets. * Non-zero initial value so that hash(frozenset()) != hash(0). * Final permutation to differentiate nested sets. * Add logic to make sure that -1 is not a possible hash value.