Stephen Tu added the comment: Py_HashRandomizationFlag was not getting properly set anywhere. This patch fixes this. Also a test case
Behavior is now: $ cat ~/hr.py import sys print(sys.flags.hash_randomization) $ PYTHONHASHSEED=random ./python.exe ~/hr.py 1 $ PYTHONHASHSEED=0 ./python.exe ~/hr.py 0 $ PYTHONHASHSEED=1 ./python.exe ~/hr.py 0 ---------- keywords: +patch nosy: +Stephen.Tu Added file: http://bugs.python.org/file29811/hashrandomization.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17708> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com