[issue43048] Printing RecursionError results in RecursionError

Irit Katriel report at bugs.python.org
Mon Feb 1 19:38:04 EST 2021


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

I meant to catch the exception in the constructor’s recursive call, and if necessary then the same again in format (if there are more function calls per exception in format, it will be necessary. The unit test from the 3.10 patch will tell).

Would that not work?

----------

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


More information about the Python-bugs-list mailing list