[Python-Dev] Hash randomization for which types?
Glenn Linderman
v+python at g.nevcal.com
Tue Feb 16 14:56:55 EST 2016
More information about the Python-Dev mailing list
Tue Feb 16 14:56:55 EST 2016
- Previous message (by thread): [Python-Dev] Hash randomization for which types?
- Next message (by thread): [Python-Dev] Hash randomization for which types?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20160216/4fbfcf7b/attachment.html>
- Previous message (by thread): [Python-Dev] Hash randomization for which types?
- Next message (by thread): [Python-Dev] Hash randomization for which types?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list