SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 0 Python

bpo-32329: Fix -R option for hash randomization (#4873)

bpo-32329, bpo-32030:

* The -R option now turns on hash randomization when the
  PYTHONHASHSEED environment variable is set to 0 Previously, the
  option was ignored.
* sys.flags.hash_randomization is now properly set to 0 when hash
  randomization is turned off by PYTHONHASHSEED=0.
* _PyCoreConfig_ReadEnv() now reads the PYTHONHASHSEED environment
  variable. _Py_HashRandomization_Init() now only apply the
  configuration, it doesn't read PYTHONHASHSEED anymore.
V
Victor Stinner committed
358e5e17a51ba00742bfaee4557a94c3c4179c22
Parent: 96a5e50
Committed by GitHub <[email protected]> on 12/14/2017, 11:51:22 PM