Author kwirk
Recipients kwirk
Date 2014-04-12.15:33:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397316819.31.0.463593532744.issue21207@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2014-04-12 15:33:39kwirksetrecipients: + kwirk
2014-04-12 15:33:39kwirksetmessageid: <1397316819.31.0.463593532744.issue21207@psf.upfronthosting.co.za>
2014-04-12 15:33:39kwirklinkissue21207 messages
2014-04-12 15:33:39kwirkcreate