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 Colm Buckley
Recipients Colm Buckley, Lukasa, Theodore Tso, alex, doko, dstufft, larry, lemburg, martin.panter, matejcik, ned.deily, pitti, python-dev, rhettinger, skrah, thomas-petazzoni, vstinner, ztane
Date 2016-06-08.21:26:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465421187.42.0.365921171164.issue26839@psf.upfronthosting.co.za>
In-reply-to
Content
Larry -

Regardless of the behavior of os.urandom (and 'import random'), is it agreed that the current state of _PyRandom_Init is acceptable for 3.5.2?

The current behavior (as of 9de508dc4837) is that it will never block on Linux, but could still block on other OS if called before /dev/urandom is initialized. We have not determined a satisfactory solution for other operating systems. Note that no other OS have reported a problem 'in the wild', probably because of their extreme rarity in VM/container environments and the lack of Python in their early init sequence.

Colm
History
Date User Action Args
2016-06-08 21:26:27Colm Buckleysetrecipients: + Colm Buckley, lemburg, rhettinger, doko, vstinner, larry, matejcik, ned.deily, alex, skrah, python-dev, martin.panter, ztane, dstufft, pitti, Lukasa, thomas-petazzoni, Theodore Tso
2016-06-08 21:26:27Colm Buckleysetmessageid: <1465421187.42.0.365921171164.issue26839@psf.upfronthosting.co.za>
2016-06-08 21:26:27Colm Buckleylinkissue26839 messages
2016-06-08 21:26:27Colm Buckleycreate