summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-08-30 22:26:02 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2013-08-30 22:26:02 (GMT)
commit4879a963d4a2020f4c26f2583f3ac35ec8d6edfe (patch)
tree88453f566e2dfc3c6908db58335742262330b92a /Python/pythonrun.c
parent267964c837bb7a1c60a7ce3cb8963a7cced7abb1 (diff)
downloadcpython-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.c1
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();