R. David Murray <rdmur...@bitdance.com> added the comment:

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?

----------
keywords: +needs review
stage: unit test needed -> patch review
Added file: http://bugs.python.org/file18366/full_traceback.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1553375>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to