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 <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