Message265551
> 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(). |
|
Date |
User |
Action |
Args |
2016-05-14 22:57:13 | vstinner | set | recipients:
+ vstinner, janssen, pitrou, giampaolo.rodola, christian.heimes, alex, dstufft, Lukasa |
2016-05-14 22:57:13 | vstinner | set | messageid: <1463266633.75.0.639776891788.issue26970@psf.upfronthosting.co.za> |
2016-05-14 22:57:13 | vstinner | link | issue26970 messages |
2016-05-14 22:57:13 | vstinner | create | |
|