Author gregory.p.smith
Recipients Arach, Arfrever, Huzaifa.Sidhpurwala, Jim.Jewett, Mark.Shannon, PaulMcMillan, Zhiping.Deng, alex, barry, benjamin.peterson, christian.heimes, dmalcolm, eric.snow, fx5, georg.brandl, grahamd, gregory.p.smith, gvanrossum, gz, haypo, jcea, lemburg, loewis, mark.dickinson, merwok, neologix, pitrou, python-dev, skorgu, skrah, terry.reedy, tim.peters, v+python, zbysz
Date 2012-02-21.06:40:31
SpamBayes Score 5.02201e-05
Marked as misclassified No
Message-id <1329806431.93.0.448943602188.issue13703@psf.upfronthosting.co.za>
In-reply-to
Content
Question: Should sys.flags.hash_randomization be True (1) when PYTHONHASHSEED=0?  It is now.

Saying yes "working as intended" is fine by me.

sys.flags.hash_randomization seems to simply indicate that doing something with the hash seed was explicitly specified as opposed to defaulting to off, not that the hash seed was actually chosen randomly.

What this implies for 3.3 after we make hash randomization default to on is that sys.flags.hash_randomization will always be 1.
History
Date User Action Args
2012-02-21 06:40:32gregory.p.smithsetrecipients: + gregory.p.smith, lemburg, gvanrossum, tim.peters, loewis, barry, georg.brandl, terry.reedy, jcea, mark.dickinson, pitrou, haypo, christian.heimes, benjamin.peterson, merwok, grahamd, Arfrever, v+python, alex, zbysz, skrah, dmalcolm, gz, neologix, Arach, Mark.Shannon, python-dev, eric.snow, Zhiping.Deng, Huzaifa.Sidhpurwala, Jim.Jewett, PaulMcMillan, fx5, skorgu
2012-02-21 06:40:31gregory.p.smithsetmessageid: <1329806431.93.0.448943602188.issue13703@psf.upfronthosting.co.za>
2012-02-21 06:40:31gregory.p.smithlinkissue13703 messages
2012-02-21 06:40:31gregory.p.smithcreate