Message383727
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. |
|
Date |
User |
Action |
Args |
2020-12-25 06:05:25 | gregory.p.smith | set | recipients:
+ gregory.p.smith, vstinner, diekhans |
2020-12-25 06:05:25 | gregory.p.smith | set | messageid: <1608876325.39.0.238845430554.issue38435@roundup.psfhosted.org> |
2020-12-25 06:05:25 | gregory.p.smith | link | issue38435 messages |
2020-12-25 06:05:25 | gregory.p.smith | create | |
|