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 kmaork
Recipients Zhibin Dong, asvetlov, kmaork, yselivanov
Date 2020-02-25.23:13:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1582672411.32.0.541368793459.issue39622@roundup.psfhosted.org>
In-reply-to
Content
While looking into this proposal, I realized that this will not wake up the loop from the select call. I think the safest solution would be to use the wakeup fd mechanism.

An additional easy, but less secure solution would be to define an internal 'signal safe' context manager that will be used only in the critical parts.

What do you think?
History
Date User Action Args
2020-02-25 23:13:31kmaorksetrecipients: + kmaork, asvetlov, yselivanov, Zhibin Dong
2020-02-25 23:13:31kmaorksetmessageid: <1582672411.32.0.541368793459.issue39622@roundup.psfhosted.org>
2020-02-25 23:13:31kmaorklinkissue39622 messages
2020-02-25 23:13:31kmaorkcreate