diff options
author | Georg Brandl <georg@python.org> | 2012-10-28 13:37:18 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2012-10-28 13:37:18 +0100 |
commit | 01f2a0d374bb90ce8fb532f7146c80395d2dd484 (patch) | |
tree | 98a56879b3f3dc0ff1c8563368020e03eac2c4ee /Python/random.c | |
parent | 62fd9533cad18f89521beef054cc1cab3f0c880d (diff) | |
parent | b21482c30708cb93a3013404b564f8f54dc194bd (diff) | |
download | cpython-01f2a0d374bb90ce8fb532f7146c80395d2dd484.tar.gz |
Remove confusing "Release" and "Date" markers from whatsnews. Merge with 3.2.
Diffstat (limited to 'Python/random.c')
-rw-r--r-- | Python/random.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Python/random.c b/Python/random.c index 825260f36b..53518c2ebe 100644 --- a/Python/random.c +++ b/Python/random.c @@ -258,17 +258,6 @@ _PyRandom_Init(void) _Py_HashSecret_Initialized = 1; /* - By default, hash randomization is disabled, and only - enabled if PYTHONHASHSEED is set to non-empty or if - "-R" is provided at the command line: - */ - if (!Py_HashRandomizationFlag) { - /* Disable the randomized hash: */ - memset(secret, 0, secret_size); - return; - } - - /* Hash randomization is enabled. Generate a per-process secret, using PYTHONHASHSEED if provided. */ |