This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jdemeyer
Recipients jdemeyer
Date 2017-04-12.15:52:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1492012349.83.0.519367248904.issue30057@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-04-12 15:52:29jdemeyersetrecipients: + jdemeyer
2017-04-12 15:52:29jdemeyersetmessageid: <1492012349.83.0.519367248904.issue30057@psf.upfronthosting.co.za>
2017-04-12 15:52:29jdemeyerlinkissue30057 messages
2017-04-12 15:52:29jdemeyercreate