Message119179
> 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. |
|
Date |
User |
Action |
Args |
2010-10-19 23:48:31 | vstinner | set | recipients:
+ vstinner, pitrou, dmalcolm, joshbressers |
2010-10-19 23:48:30 | vstinner | set | messageid: <1287532110.95.0.937885492526.issue8863@psf.upfronthosting.co.za> |
2010-10-19 23:48:29 | vstinner | link | issue8863 messages |
2010-10-19 23:48:29 | vstinner | create | |
|