[issue43656] TracebackException or StackSummary.extract with capture_locals=True fail to catch exceptions raised by repr() on value of frame local variable in FrameSummary.__init__.

Martin report at bugs.python.org
Thu Nov 25 09:41:25 EST 2021


Martin <martin.schroeder at nerdluecht.de> added the comment:

Thanks for your definitive answer, this is what I was waiting for.

I understand and I totally agree that subclassing is the way to go to make traceback more flexible.

Would you mind linking the other issues concerning the general improvement of traceback?

----------

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


More information about the Python-bugs-list mailing list