[issue43048] Printing RecursionError results in RecursionError

Vladimir Feinberg report at bugs.python.org
Mon Feb 1 12:26:07 EST 2021


Vladimir Feinberg <vlad at sisudata.com> added the comment:

A simple catch may not work (the very first TracebackException is the one
that gets the RecursionError during initialization of its __context__), but
one thing I was thinking about was walking the __context__ pointers and
nulling out anything past the sys.getrecursionlimit() with a warning.

On Sat, Jan 30, 2021 at 10:00 AM Irit Katriel <report at bugs.python.org>
wrote:

>
> Change by Irit Katriel <iritkatriel at yahoo.com>:
>
>
> ----------
> keywords: +easy
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <https://bugs.python.org/issue43048>
> _______________________________________
>

----------

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


More information about the Python-bugs-list mailing list