This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kwirk
Recipients kwirk
Date 2014-04-12.15:33:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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

$ 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
Date User Action Args
2014-04-12 15:33:39kwirksetrecipients: + kwirk
2014-04-12 15:33:39kwirksetmessageid: <>
2014-04-12 15:33:39kwirklinkissue21207 messages
2014-04-12 15:33:39kwirkcreate