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 gregory.p.smith
Recipients gregory.p.smith, rpurdie
Date 2022-04-05.07:24:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1649143496.08.0.867298107985.issue47139@roundup.psfhosted.org>
In-reply-to
Content
The irony... Documenting the caveat at least seems useful. Your workaround sounds reasonable.

I don't love the idea of implementing our own mask blocked/unblocked state check, though it probably wouldn't be very complicated. Might be interesting.

Another trick that'd "work" so long as people don't have multiple SIG_BLOCK calls (not something to depend on) is to force a check of our interpreter signal flags right before signal.pthread_sigmask returns to the Python caller.
History
Date User Action Args
2022-04-05 07:24:56gregory.p.smithsetrecipients: + gregory.p.smith, rpurdie
2022-04-05 07:24:56gregory.p.smithsetmessageid: <1649143496.08.0.867298107985.issue47139@roundup.psfhosted.org>
2022-04-05 07:24:56gregory.p.smithlinkissue47139 messages
2022-04-05 07:24:55gregory.p.smithcreate