This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients CyberJacob, Decorater, Matt Groth, ellisj, eric.araujo, lazka, mwh, ncoghlan, pitrou, tiagoaoa, tim.peters, undercoveridiot, vlasovskikh, vstinner
Date 2019-05-25.00:30:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
If you want to reuse sys.excepthook to handle uncaught exception, you can now write:
def hook(args):
    if args.exc_type == SystemExit:
    sys.excepthook(args.exc_type, args.exc_value, args.exc_traceback)

threading.excepthook = hook

Try attached for a full example.
Date User Action Args
2019-05-25 00:30:51vstinnersetrecipients: + vstinner, mwh, tim.peters, ncoghlan, ellisj, pitrou, tiagoaoa, eric.araujo, undercoveridiot, vlasovskikh, lazka, Decorater, CyberJacob, Matt Groth
2019-05-25 00:30:51vstinnersetmessageid: <>
2019-05-25 00:30:51vstinnerlinkissue1230540 messages
2019-05-25 00:30:51vstinnercreate