[issue21207] urandom persistent fd - not re-openned after fd close
Steven Hiscocks
report at bugs.python.org
Sat Apr 12 17:33:39 CEST 2014
New submission from Steven Hiscocks:
I've seen an issue with using urandom on Python 3.4. I've traced down to fd being closed (not by core CPython, but by third party library code). After this, access to urandom fails.
I assume this is related to persistent fd for urandom in http://bugs.python.org/issue18756
$ python -c "import os;os.urandom(1);os.closerange(3,256);os.urandom(1)"
Traceback (most recent call last):
File "<string>", line 1, in <module>
OSError: [Errno 9] Bad file descriptor
----------
messages: 215973
nosy: kwirk
priority: normal
severity: normal
status: open
title: urandom persistent fd - not re-openned after fd close
type: crash
versions: Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21207>
_______________________________________
More information about the Python-bugs-list
mailing list