Message112738
Updated patch with unit tests and docs. I realized that I'd forgotten to test chained exceptions. It looks like when the Interpreter prints a traceback all the exceptions in the chain are printed fully, which makes sense. Adopting that strategy for this patch simplified it into three lines (the signature change and an if/print in the loop).
I'm pretty satisfied with this patch. I have two questions: should the 'fullstack' option really be implemented in print_tb instead? And is there a better name for the option? Would just 'full' be acceptable? |
|
Date |
User |
Action |
Args |
2010-08-04 02:33:03 | r.david.murray | set | recipients:
+ r.david.murray, guettli, hoffman, ggenellina, pakal, news1234, ysj.ray |
2010-08-04 02:33:02 | r.david.murray | set | messageid: <1280889182.53.0.800988810141.issue1553375@psf.upfronthosting.co.za> |
2010-08-04 02:33:00 | r.david.murray | link | issue1553375 messages |
2010-08-04 02:33:00 | r.david.murray | create | |
|