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 larry
Recipients Theodore Tso, dstufft, larry, ncoghlan, vstinner
Date 2016-06-09.00:29:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465432174.34.0.107435972898.issue27266@psf.upfronthosting.co.za>
In-reply-to
Content
> As a process comment: I agree with what Victor wrote in http://haypo-notes.readthedocs.io/pep_random.html#status-of-python-3-5-2, when he suggests that we leave 3.5.2 as is for now [...]

I agree in principle.  Certainly we all agree it'd be inappropriate to add the block parameter to 3.5.2.

I only allowed the possibility of adding os.getrandom() in 3.5.2 to try and placate the authors of cryptography libraries.  They could use os.getrandom() if it was available, and fall back to os.urandom() if not.  Since they want the blocking behavior, that means they'd block in 3.5.2+ (they'd call getrandom), and they'd also block in 3.5.[0-1] (they'd call os.urandom() which blocks on Linux in those versions).
History
Date User Action Args
2016-06-09 00:29:34larrysetrecipients: + larry, ncoghlan, vstinner, dstufft, Theodore Tso
2016-06-09 00:29:34larrysetmessageid: <1465432174.34.0.107435972898.issue27266@psf.upfronthosting.co.za>
2016-06-09 00:29:34larrylinkissue27266 messages
2016-06-09 00:29:33larrycreate