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 vstinner
Recipients vstinner
Date 2011-05-11.21:57:41
SpamBayes Score 3.383511e-05
Marked as misclassified No
Message-id <1305151062.27.0.134082795886.issue12060@psf.upfronthosting.co.za>
In-reply-to
Content
If a real time signal is raised 2 times whereas the signal is blocked, unblock the signal will call the signal handler twice. The C signal handler of the Python signal module only stores a boolean to say if the Python signal handler should be called or not in Py_CheckSignals().

If the C signal handler is called twice, the Python signal handler is only called once.

Attached patch is a draft to fix this issue. The patch is not completly safe.
History
Date User Action Args
2011-05-11 21:57:42vstinnersetrecipients: + vstinner
2011-05-11 21:57:42vstinnersetmessageid: <1305151062.27.0.134082795886.issue12060@psf.upfronthosting.co.za>
2011-05-11 21:57:41vstinnerlinkissue12060 messages
2011-05-11 21:57:41vstinnercreate