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 pitrou
Recipients eric.araujo, neologix, pitrou, r.david.murray, telmich
Date 2012-03-20.11:50:19
SpamBayes Score 1.9893e-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)
History
Date User Action Args
2012-03-20 11:50:20pitrousetrecipients: + pitrou, eric.araujo, r.david.murray, neologix, telmich
2012-03-20 11:50:19pitroulinkissue14228 messages
2012-03-20 11:50:19pitroucreate