commit | cecdd9634b8ca3f0b260681d75cc1fd00a350efd | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Tue Aug 16 15:19:09 2016 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Tue Aug 16 15:19:09 2016 +0200 |
tree | 281efa62b8f541c76a4747963edfc36fb99089fb | |
parent | 4bad3b622e119cea330e0c0a8a6dc26b98f17d53 [diff] |
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().