diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-08-16 13:19:09 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-08-16 13:19:09 (GMT) |
commit | cecdd9634b8ca3f0b260681d75cc1fd00a350efd (patch) | |
tree | 281efa62b8f541c76a4747963edfc36fb99089fb /Python/importdl.c | |
parent | 4bad3b622e119cea330e0c0a8a6dc26b98f17d53 (diff) | |
download | cpython-cecdd9634b8ca3f0b260681d75cc1fd00a350efd.zip cpython-cecdd9634b8ca3f0b260681d75cc1fd00a350efd.tar.gz cpython-cecdd9634b8ca3f0b260681d75cc1fd00a350efd.tar.bz2 |
Issue #27776: _PyRandom_Init() doesn't call PyErr_CheckSignals() anymore
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().
Diffstat (limited to 'Python/importdl.c')
0 files changed, 0 insertions, 0 deletions