[issue8863] Display Python backtrace on SIGSEGV, SIGFPE and fatal error

Stefan Krah report at bugs.python.org
Thu Dec 23 12:10:32 CET 2010


Stefan Krah <stefan-usenet at bytereef.org> added the comment:

[Alexander]

if sys.getenv('PYTHONSEGVHANDLER'):
     import segvhandler
     segvhandler.enable()

+1

If this doesn't find support, I'd name sys.setsegfaultenabled()
sys.setsegvhandlerenabled() or sys.enable_segvhandler().

----------
nosy: +skrah

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8863>
_______________________________________


More information about the Python-bugs-list mailing list