Message156400
| Author |
pitrou |
| Recipients |
eric.araujo, neologix, pitrou, r.david.murray, telmich |
| Date |
2012年03月20日.11:50:19 |
| SpamBayes Score |
1.9893032e-11 |
| Marked as misclassified |
No |
| Message-id |
<1332243942.3443.0.camel@localhost.localdomain> |
| In-reply-to |
<CAH_1eM2tn4Fjfzsikg=XbOhoZs4Dw0se6TTRNX7cH_sdYb2ftg@mail.gmail.com> |
| Content |
> > Or we could change Py_InitializeEx() to setup the signal handlers
> > after having imported the site module:
>
> Note that I don't really like this solution, because it's better to
> setup handlers for fatal signals (SIGPIPE, SIGXF...) before executing
> arbitrary Python code (site).
Agreed. I think we'd better disable SIGINT initialization when a certain
environment variable is set.
(AFAICT, the issue is only about SIGINT since it's the only one where
the default behaviour is overriden) |
|