[TIP] testing and hash values
chris.jerdonek at gmail.com
Sun Sep 29 09:56:51 PDT 2013
I have a question about the behavior of hashing prior to Python 3.3
(when hash randomization was turned on by default ).
I know that in earlier versions Python never made any guarantees about
hash values and their effect on dictionary key ordering, etc . But
for testing purposes, in practice, to what extent does hashing behave
the same across systems and Python versions prior to Python 3.3? For
example, the note at  says that "it typically varies between 32-bit
and 64-bit builds."
I'm asking because I'm curious about the extent to which tests that
unknowingly depend on hash values are reproducible across systems and
More information about the testing-in-python