diff Python/pythonrun.c @ 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 0424f4761500
children c7fdb0637d0b
line wrap: on
line diff
--- a/Python/pythonrun.c	Sat Aug 31 00:12:37 2013 +0200
+++ b/Python/pythonrun.c	Sat Aug 31 00:26:02 2013 +0200
@@ -625,6 +625,7 @@
     PyDict_Fini();
     PySlice_Fini();
     _PyGC_Fini();
+    _PyRandom_Fini();
 
     /* Cleanup Unicode implementation */
     _PyUnicode_Fini();