[Python-Dev] Issue #8863 adds a new PYTHONNOFAULTHANDLER environment variable

"Martin v. Löwis" martin at v.loewis.de
Sat Dec 18 20:36:50 CET 2010


Am 18.12.2010 19:55, schrieb Alexander Belopolsky:
> On Sat, Dec 18, 2010 at 11:50 AM, Georg Brandl <g.brandl at gmx.net> wrote:
> ..
>> In any case, this is coming pretty late; beta 2 is scheduled for this
>> weekend, and even if this is something that only kicks in when all hope
>> is lost anyway, it is a new feature.  I should like to hear approval
>> from a few more devs before I will let this go into 3.2.
>>
> 
> I am -1 on the feature as written.  I would be -0 if it did not
> install signal handlers by default and even better was implemented in
> a separate module, not in core.

This is also what I think. Installing a signal handler is a fairly
drastic action, and I don't think the code has been sufficiently
reviewed yet.

So I'd rather see this deferred until after 3.2, to allow for additional
reviews (e.g. if some of the Twisted guys would approve it - that would
be convincing).

I also share Alexander's concern that Python just shouldn't mess with
signal handlers at all, ideally. So some trade-off has to be found to
address that concern (e.g. by making the signal handlers only active
for the executable interpreter, but not in the embedded case).

Regards,
Martin


More information about the Python-Dev mailing list