Message206732
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). |
|
Date |
User |
Action |
Args |
2013-12-21 13:51:01 | vstinner | set | recipients:
+ vstinner, gvanrossum, ncoghlan, pitrou, skrah |
2013-12-21 13:51:01 | vstinner | set | messageid: <1387633861.38.0.0798516718222.issue20037@psf.upfronthosting.co.za> |
2013-12-21 13:51:01 | vstinner | link | issue20037 messages |
2013-12-21 13:51:00 | vstinner | create | |
|