diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-08-30 22:26:02 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-08-30 22:26:02 (GMT) |
commit | 4879a963d4a2020f4c26f2583f3ac35ec8d6edfe (patch) | |
tree | 88453f566e2dfc3c6908db58335742262330b92a /Python/pythonrun.c | |
parent | 267964c837bb7a1c60a7ce3cb8963a7cced7abb1 (diff) | |
download | cpython-4879a963d4a2020f4c26f2583f3ac35ec8d6edfe.zip cpython-4879a963d4a2020f4c26f2583f3ac35ec8d6edfe.tar.gz cpython-4879a963d4a2020f4c26f2583f3ac35ec8d6edfe.tar.bz2 |
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 375bf34..cbd62aa 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(); |