Mercurial > cpython-lru_cache-weakref
diff Include/pythonrun.h @ 85468:acc7439b1406
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.
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Sat, 31 Aug 2013 00:26:02 +0200 |
| parents | df2fdd42b375 |
| children | 9cd88b39ef62 |
line wrap: on
line diff
--- a/Include/pythonrun.h Sat Aug 31 00:12:37 2013 +0200 +++ b/Include/pythonrun.h Sat Aug 31 00:26:02 2013 +0200 @@ -246,6 +246,7 @@ 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
