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, doko, lemburg, matejcik, rhettinger, skrah, socketpair, thomas-petazzoni, vstinner
Date 2016-05-12.21:48:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1463089682.06.0.30851636634.issue26839@psf.upfronthosting.co.za>
In-reply-to
Content
Oh; it's not actually hashlib which is calling getrandom(), it's the main runtime - the initialization of the per-process secret hash seed in _PyRandom_Init

Don't know enough about the internal logic here to comment on what the Right Thing is; but I second the suggestion of msg264303. This might just require setting "flags" to GRND_NONBLOCK in py_getrandom() assuming that's portable to other OS.
History
Date User Action Args
2016-05-12 21:48:02Colm Buckleysetrecipients: + Colm Buckley, lemburg, rhettinger, doko, vstinner, matejcik, skrah, socketpair, thomas-petazzoni
2016-05-12 21:48:02Colm Buckleysetmessageid: <1463089682.06.0.30851636634.issue26839@psf.upfronthosting.co.za>
2016-05-12 21:48:02Colm Buckleylinkissue26839 messages
2016-05-12 21:48:02Colm Buckleycreate