summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-08-31 00:26:02 +0200
committerAntoine Pitrou <solipsis@pitrou.net>2013-08-31 00:26:02 +0200
commita7b94565928a47b36f01c932aad076cc093a9db5 (patch)
tree239d4de859a2868a72ac1a53422ee55f77e5e936 /Python/pythonrun.c
parentdea8ac17e59447366adb3220fdf5dacf812d7acd (diff)
downloadcpython-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.c1
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();