Message153862
STINNER Victor wrote:
>
> STINNER Victor <victor.stinner@gmail.com> added the comment:
>
>> Question: Should sys.flags.hash_randomization be True (1) when PYTHONHASHSEED=0? It is now.
>>
>> Saying yes "working as intended" is fine by me.
>
> It is documented that PYTHONHASHSEED=0 disables the randomization, so
> sys.flags.hash_randomization must be False (0).
PYTHONHASHSEED=1 will disable randomization as well :-)
Only setting PYTHONHASHSEED=random actually enables randomization. |
|
Date |
User |
Action |
Args |
2012-02-21 09:50:26 | lemburg | set | recipients:
+ lemburg, gvanrossum, tim.peters, loewis, barry, georg.brandl, terry.reedy, gregory.p.smith, jcea, mark.dickinson, pitrou, vstinner, christian.heimes, benjamin.peterson, eric.araujo, 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 09:50:25 | lemburg | link | issue13703 messages |
2012-02-21 09:50:25 | lemburg | create | |
|