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 vstinner
Recipients vstinner
Date 2014-08-10.23:32:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1407713563.4.0.264701036097.issue22181@psf.upfronthosting.co.za>
In-reply-to
Content
The future Linux kernel 3.17 will have a new getrandom() syscall which avoids the need of a file descriptor:
http://lwn.net/Articles/606141/

The file descriptor of os.urandom() causes perfomance issues and surprising bugs: #18756, #21207.

I don't know when the function will land in the libc.

OpenBSD 5.6 (not released yet) will also have a new getentropy() syscall.

For Python 2.7, see also the PEP 466 and the issue #21305.
History
Date User Action Args
2014-08-10 23:32:43vstinnersetrecipients: + vstinner
2014-08-10 23:32:43vstinnersetmessageid: <1407713563.4.0.264701036097.issue22181@psf.upfronthosting.co.za>
2014-08-10 23:32:43vstinnerlinkissue22181 messages
2014-08-10 23:32:43vstinnercreate