[Security-sig] PEP 524: Make os.urandom() blocking on Linux (version 3)

Barry Warsaw barry at python.org
Fri Jul 29 09:31:55 EDT 2016


On Jul 29, 2016, at 09:35 PM, Nick Coghlan wrote:

>I'm wondering if we should take os.getrandom() out of the PEPs, and
>just agree that adding it as a platform-dependent optional interface
>in the OS module is a good idea.

I agree that os.getrandom() should be added on platforms that support it
regardless of the outcome of the various PEPs, and that it should be a thin
layer above the C function.

Cheers,
-Barry


More information about the Security-SIG mailing list