[Python-Dev] Hash randomization for which types?

Christoph Groth christoph at grothesque.org
Tue Feb 16 04:48:05 EST 2016


Hello,

Recent Python versions randomize the hashes of str, bytes and 
datetime objects.  I suppose that the choice of these three types 
is the result of a compromise.  Has this been discussed somewhere 
publicly?

I'm not a web programmer, but don't web applications also use 
dictionaries that are indexed by, say, tuples of integers?

Just curious...

Thanks,
Christoph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20160216/17720c0b/attachment.sig>


More information about the Python-Dev mailing list