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 christian.heimes
Recipients Lukasa, Theodore Tso, christian.heimes, dstufft, larry, lemburg, martin.panter, ncoghlan, vstinner
Date 2016-06-09.08:11:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465459874.76.0.988827305934.issue27266@psf.upfronthosting.co.za>
In-reply-to
Content
I'm -1 on a block=True/False parameter. It makes the API more awkward and will make people move away from os.urandom() to a self-made RNG because they perceive os.urandom() as potential blocking.

Victor, you can use sysctl on all BSD and Linux to check if the RNG has been seeded. On Linux it is kernel.random.entropy_avail >= kernel.random.read_wakeup_threshold. On BSD it is kern.random.sys.seeded == 1.
History
Date User Action Args
2016-06-09 08:11:14christian.heimessetrecipients: + christian.heimes, lemburg, ncoghlan, vstinner, larry, martin.panter, dstufft, Lukasa, Theodore Tso
2016-06-09 08:11:14christian.heimessetmessageid: <1465459874.76.0.988827305934.issue27266@psf.upfronthosting.co.za>
2016-06-09 08:11:14christian.heimeslinkissue27266 messages
2016-06-09 08:11:14christian.heimescreate