diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-10 12:23:10 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-10 12:23:10 +0200 |
commit | 82ad4d2a8d5b7b3147af9cf6406fca37d493e6ee (patch) | |
tree | e4b2b7b79a8e257d41454a4177c6b159662cdf2c /Python/random.c | |
parent | 0ba8d62bdc6fbc0216a3c220bc60efcf99d60195 (diff) | |
parent | 09e8e10bfc906c3611b1fd7684614b49527c2ba7 (diff) | |
download | cpython-82ad4d2a8d5b7b3147af9cf6406fca37d493e6ee.tar.gz |
Issue #6975: os.path.realpath() now correctly resolves multiple nested symlinks on POSIX platforms.
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. */ |