summaryrefslogtreecommitdiffstats
path: root/Include/pythonrun.h
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 /Include/pythonrun.h
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 'Include/pythonrun.h')
-rw-r--r--Include/pythonrun.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h
index aca5915..8fdb5b5 100644
--- a/Include/pythonrun.h
+++ b/Include/pythonrun.h
@@ -246,6 +246,7 @@ PyAPI_FUNC(void) _PyGC_DumpShutdownStats(void);
PyAPI_FUNC(void) _PyGC_Fini(void);
PyAPI_FUNC(void) PySlice_Fini(void);
PyAPI_FUNC(void) _PyType_Fini(void);
+PyAPI_FUNC(void) _PyRandom_Fini(void);
PyAPI_DATA(PyThreadState *) _Py_Finalizing;
#endif