STINNER Victor <victor.stin...@haypocalc.com> added the comment:

> One other concern: many OSes (e.g. Linux distributions) implement
> some kind of system-wide crash-catching utility; ...

Even if it would be possible to call the original signal handler, I think that 
it would be better to just disable this feature if a (better?) program also 
watchs for segfaults.

We should provide different ways to enable and/or disable this feature:
 - command line option? (eg. see issue #10089)
 - environment variable?
 - add a function to the sys module (or another module) to enable or disable 
this feature? (eg. sys.getsegfaultenabled(), sys.setsegfaultenabled(False))

I don't think that a command line option and an environment variable is 
pratical for an OS distributor.

With a sys function, the OS distributor can call it in the site module.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8863>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to