Message291561
There is a race condition in calling signal.signal() if the signal arrives while (or right before) signal.signal() is being executed: the function signal.signal(sig, action) marks the signal "sig" as not tripped. Because of this, signals can get lost. Instead, it would be better to call PyErr_CheckSignals() to check for pending signals. |
|
Date |
User |
Action |
Args |
2017-04-12 15:52:29 | jdemeyer | set | recipients:
+ jdemeyer |
2017-04-12 15:52:29 | jdemeyer | set | messageid: <1492012349.83.0.519367248904.issue30057@psf.upfronthosting.co.za> |
2017-04-12 15:52:29 | jdemeyer | link | issue30057 messages |
2017-04-12 15:52:29 | jdemeyer | create | |
|