Message7191

Author Arfrever
Recipients Arfrever
Date 2012-06-08.02:19:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1339121984.16.0.476783835043.issue1912@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-06-08 02:19:44Arfreversetrecipients: + Arfrever
2012-06-08 02:19:44Arfreversetmessageid: <1339121984.16.0.476783835043.issue1912@psf.upfronthosting.co.za>
2012-06-08 02:19:43Arfreverlinkissue1912 messages
2012-06-08 02:19:43Arfrevercreate