Author vstinner
Recipients gvanrossum, ncoghlan, pitrou, skrah, vstinner
Date 2013-12-21.13:51:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387633861.38.0.0798516718222.issue20037@psf.upfronthosting.co.za>
In-reply-to
Content
Oh, I think that #19421 was also a duplicate of this issue. Updated example from this issue: attached script crash_logging_exc_info.py.

Output:
---
$ ./python crash_logging_exc_info.py
Erreur de segmentation (core dumped)
---

Output with iostate_shutdown.patch applied:
---
$ ./python ~/crash_logging_exc_info.py 
CRITICAL:root:error
Traceback (most recent call last):
  File "/home/haypo/crash_logging_exc_info.py", line 7, in __del__
    raise ValueError()
ValueError
---

@Antoine: You should also add a test based on crash_logging_exc_info.py in test_logging, to test the whole feature (display a traceback during Python shutdown).
History
Date User Action Args
2013-12-21 13:51:01vstinnersetrecipients: + vstinner, gvanrossum, ncoghlan, pitrou, skrah
2013-12-21 13:51:01vstinnersetmessageid: <1387633861.38.0.0798516718222.issue20037@psf.upfronthosting.co.za>
2013-12-21 13:51:01vstinnerlinkissue20037 messages
2013-12-21 13:51:00vstinnercreate