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, pitrou
Date 2014-04-14.22:08:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397513304.17.0.528133224232.issue21207@psf.upfronthosting.co.za>
In-reply-to
Content
Just to add for those interested: a possible work around solution is using "os.path.sameopenfile" to check fds against another known fd for urandom.

And for those wish to have a bit of fun (and maybe a security consideration):
python -c "import os;os.urandom(1);os.closerange(3,256);fd = open('/dev/zero');print(os.urandom(10))"
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
History
Date User Action Args
2014-04-14 22:08:24kwirksetrecipients: + kwirk, pitrou
2014-04-14 22:08:24kwirksetmessageid: <1397513304.17.0.528133224232.issue21207@psf.upfronthosting.co.za>
2014-04-14 22:08:24kwirklinkissue21207 messages
2014-04-14 22:08:24kwirkcreate