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 vstinner
Recipients Lukasa, alex, christian.heimes, dstufft, giampaolo.rodola, janssen, pitrou, vstinner
Date 2016-05-14.22:57:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1463266633.75.0.639776891788.issue26970@psf.upfronthosting.co.za>
In-reply-to
Content
> I have to replace _PyOS_URandom with a variant that doesn't need the GIL

Please don't replace it, but add a new function which report errors differently. Which kind of granularity do you expect for the error reporting? Just a boolean (success or failure)?

Most implementations of _PyOS_URandom() already has a private "int raise" parameter to specify how errors are reported: raise an exception or call Py_FatalError().
History
Date User Action Args
2016-05-14 22:57:13vstinnersetrecipients: + vstinner, janssen, pitrou, giampaolo.rodola, christian.heimes, alex, dstufft, Lukasa
2016-05-14 22:57:13vstinnersetmessageid: <1463266633.75.0.639776891788.issue26970@psf.upfronthosting.co.za>
2016-05-14 22:57:13vstinnerlinkissue26970 messages
2016-05-14 22:57:13vstinnercreate