[issue17646] traceback.py has a lot of code duplication
Martin Morrison
report at bugs.python.org
Sat Apr 6 22:56:24 CEST 2013
Martin Morrison added the comment:
I hadn't spotted that one!
My refactor goes further (consolidates all duplicates, not just the tb ones), is implemented the way you suggested therein (print in terms of extract), and is "more efficient" in that it uses generators for all intermediate iterators.
However, I'm happy to either attach my diff to that issue, refactor mine in terms of that one, or whatever you think is best.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17646>
_______________________________________
More information about the Python-bugs-list
mailing list