mirror of https://github.com/python/cpython
Browse Source
Modify py_getrandom() to not call PyErr_CheckSignals() if raise is zero. _PyRandom_Init() is called very early in the Python initialization, so it's safer to not call PyErr_CheckSignals().pull/9921/head
1 changed files with 6 additions and 3 deletions
Loading…
Reference in new issue