A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2016-February/143370.html below:

[Python-Dev] Hash randomization for which types?

[Python-Dev] Hash randomization for which types? [Python-Dev] Hash randomization for which types?Glenn Linderman v+python at g.nevcal.com
Tue Feb 16 14:56:55 EST 2016
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>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4