diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-08-31 00:26:02 +0200 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-08-31 00:26:02 +0200 |
commit | a7b94565928a47b36f01c932aad076cc093a9db5 (patch) | |
tree | 239d4de859a2868a72ac1a53422ee55f77e5e936 /Python/pythonrun.c | |
parent | dea8ac17e59447366adb3220fdf5dacf812d7acd (diff) | |
download | cpython-a7b94565928a47b36f01c932aad076cc093a9db5.tar.gz |
Issue #18756: os.urandom() now uses a lazily-opened persistent file descriptor, so as to avoid using many file descriptors when run in parallel from multiple threads.
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r-- | Python/pythonrun.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 375bf34c82..cbd62aa056 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -625,6 +625,7 @@ Py_Finalize(void) PyDict_Fini(); PySlice_Fini(); _PyGC_Fini(); + _PyRandom_Fini(); /* Cleanup Unicode implementation */ _PyUnicode_Fini(); |