Steven Hiscocks added the comment:

I agree in part, but it's quite common to close fd's in some cases like in a 
child process after using "os.fork()". There is no way, as far as I'm aware, to 
identify which fd is associated with /dev/urandom to keep it open; or anyway to 
reopen it such that other libraries which depend on it can use it (for example 
"tempfile.TemporaryFile").

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21207>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to