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 njs, vstinner
Date 2017-05-16.21:16:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1494969410.7.0.44300287543.issue30038@psf.upfronthosting.co.za>
In-reply-to
Content
While I suggest you to *not* use an event loop (wakeup fd pipe/socket handle with select) and signal.signal(), you are true that there is a race condition if you use select() with signal.signal() so I merged your change.

Do you consider that it's worth it to backport the change to 3.5 and 3.6?

Python 2.7 is not affected, right?
History
Date User Action Args
2017-05-16 21:16:50vstinnersetrecipients: + vstinner, njs
2017-05-16 21:16:50vstinnersetmessageid: <1494969410.7.0.44300287543.issue30038@psf.upfronthosting.co.za>
2017-05-16 21:16:50vstinnerlinkissue30038 messages
2017-05-16 21:16:50vstinnercreate