On Jun 10, 2016, at 12:05 PM, David Mertz wrote: >OK. My understanding is that Guido ruled out introducing an os.getrandom() >API in 3.5.2. But would you be happy if that interface is added to 3.6?
I would. >It feels to me like the correct spelling in 3.6 should probably be >secrets.getrandom() or something related to that. ISTM that secrets is a somewhat higher level API while it makes sense that a fairly simple plumbing of the underlying C call should go in os. But I wouldn't argue much if folks had strong opinions to the contrary. Cheers, -Barry _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com