[Python-Dev] Hash randomization for which types?

Stephen J. Turnbull stephen at xemacs.org
Tue Feb 16 21:22:22 EST 2016


Glenn Linderman writes:

 > I think hashes of all types have been randomized, not _just_ the list 
 > you mentioned.

Yes.  There's only one hash function used, which operates on byte
streams IIRC.  That function now has a random offset.  The details of
hashing each type are in the serializations to byte streams.





More information about the Python-Dev mailing list