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 diekhans, gregory.p.smith, vstinner
Date 2020-12-25.06:05:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1608876325.39.0.238845430554.issue38435@roundup.psfhosted.org>
In-reply-to
Content
signal.signal use case:

Calls to signal.signal(x, y) to sometimes to set a non SIG_DFL behavior on a signal.  SIGINT -> SIG_IGN for example.

I see a lot of legacy looking code calling signal.signal in prexec_fn that appears to set SIG_DFL for the signals that Python otherwise modifies.  Which restore_signals=True should already be doing.
History
Date User Action Args
2020-12-25 06:05:25gregory.p.smithsetrecipients: + gregory.p.smith, vstinner, diekhans
2020-12-25 06:05:25gregory.p.smithsetmessageid: <1608876325.39.0.238845430554.issue38435@roundup.psfhosted.org>
2020-12-25 06:05:25gregory.p.smithlinkissue38435 messages
2020-12-25 06:05:25gregory.p.smithcreate