Daniel Black added the comment:

maybe you've thought and dismissed this already but os.close could call 
dev_urandom_close for the urandom_fd. Then there's no fstat calls in every 
random access. As a sweeping close all isn't going to occur that often and 
extra open probably isn't that much overhead.

----------

_______________________________________
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