[issue31299] Add "ignore_modules" option to TracebackException.format()

Irit Katriel report at bugs.python.org
Mon Dec 7 18:01:36 EST 2020


Irit Katriel <iritkatriel at yahoo.com> added the comment:

In issue42247 the unit test framework uses limit as a hack to remove its own frame, and then the traceback module applies the limit to the chained exception as well.

If the filter suggested here existed, unit test could use that instead of limit.

----------
nosy: +iritkatriel

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31299>
_______________________________________


More information about the Python-bugs-list mailing list