diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-08-16 15:19:09 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-08-16 15:19:09 +0200 |
commit | cecdd9634b8ca3f0b260681d75cc1fd00a350efd (patch) | |
tree | 281efa62b8f541c76a4747963edfc36fb99089fb /Python/dynamic_annotations.c | |
parent | 4bad3b622e119cea330e0c0a8a6dc26b98f17d53 (diff) | |
download | cpython-git-cecdd9634b8ca3f0b260681d75cc1fd00a350efd.tar.gz |
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/dynamic_annotations.c')
0 files changed, 0 insertions, 0 deletions