On 2/16/2016 1:48 AM, Christoph Groth wrote:
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?
Search archives of this list... it was discussed at length.
I'm not a web programmer, but don't web applications also use
dictionaries that are indexed by, say, tuples of integers?
Sure, and that is the biggest part of the reason they were randomized.
I think hashes of all types have been randomized, not _just_ the list
you mentioned.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com