> 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.