Changes by Benjamin Peterson benja...@python.org:
--
resolution: - out of date
status: open - closed
superseder: - traceback.py has a lot of code duplication
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17491
Radu Voicilas added the comment:
Is there anything else that I have to do in order for this patch to be looked
at ? I am holding off a similar one for print_exception vs. format_exception
--
___
Python tracker rep...@bugs.python.org
Benjamin Peterson added the comment:
Thank you for the patch. It seems like it would make more sense to implement
print_tb in terms of extract_tb. That is, print_tb should iterate through the
result of extract_tb and do its printing.
--
nosy: +benjamin.peterson
New submission from Radu Voicilas:
This is a patch that consolidates the implementation of traceback.format_tb and
traceback.print_tb into one common internal function traceback._get_tb. The
current implementations are almost identical, except that the print_tb() ones
also prints to a file