Message7191
Randomization of hashes of str/bytes, unicode/str and datetime objects is supported in newer CPython versions:
CPython >=2.6.8 in 2.6 branch
CPython >=2.7.3 in 2.7 branch
CPython >=3.1.5 in 3.1 branch
CPython >=3.2.3 in 3.2 branch
CPython >=3.3
-R option and PYTHONHASHSEED="random" environmental variable enable randomization of hashes in CPython <3.3.
Randomization of hashes is enabled by default in CPython >=3.3, so -R option and PYTHONHASHSEED="random" have no effect in CPython >=3.3.
PYTHONHASHSEED environmental variable can also be an integer in range [0, 4294967295], which sets predictable seed of hash values.
See: http://bugs.python.org/issue13703
I suggest that Jython 2.7 support -R option and PYTHONHASHSEED environmental variable. |
|
Date |
User |
Action |
Args |
2012-06-08 02:19:44 | Arfrever | set | recipients:
+ Arfrever |
2012-06-08 02:19:44 | Arfrever | set | messageid: <1339121984.16.0.476783835043.issue1912@psf.upfronthosting.co.za> |
2012-06-08 02:19:43 | Arfrever | link | issue1912 messages |
2012-06-08 02:19:43 | Arfrever | create | |
|