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

Pablo Galindo Salgado report at bugs.python.org
Wed Nov 22 18:48:29 EST 2017


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

I have prepared a patch (attached) with a possible implementation of the C function that can filter traceback objects modifying the traceback chain. I can make a PR if the patch looks good enough to start iterating over it. In case an alternative implementation is needed I am more than happy to prepare another patch/PR.

----------
keywords: +patch
nosy: +pablogsal
Added file: https://bugs.python.org/file47284/traceback_filter.patch

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


More information about the Python-bugs-list mailing list