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/2013-November/130403.html below:

[Python-Dev] Accepting PEP 456 (Secure hash algorithm)

[Python-Dev] Accepting PEP 456 (Secure hash algorithm)Victor Stinner victor.stinner at gmail.com
Wed Nov 20 12:41:09 CET 2013
2013/11/20 Victor Stinner <victor.stinner at gmail.com>:
> It looks like dict, set and frozenset representation (repr(...)) now
> depends on the platform (probably 32 bit vs 64 bit), even if
> PYTHONHASHSEED is set. I don't know if it's an issue or not.

In Python 3.3, repr(set("abcd")) with PYTHONHASHSEED=0 always give
"{'a', 'c', 'b', 'd'}" on 32 bit and 64 bit platforms.

In Python 3.4, repr(set("abcd")) with PYTHONHASHSEED=0 now gives
"{'b', 'a', 'c', 'd'}" on 32 bit.and  "{'a', 'b', 'c', 'd'}" on 64
bit.

Victor
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