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 /Include | |
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 'Include')
-rw-r--r-- | Include/pythonrun.h | 1 |
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 |