[issue42848] asyncio produces an unexpected traceback with recursive __getattribute__

Guido van Rossum report at bugs.python.org
Wed Jan 6 22:17:39 EST 2021


Guido van Rossum <guido at python.org> added the comment:

The recursion error is actually inside the traceback module. The reason is that the code there calls itself recursively for each level of context. Since bar() builds up an endless chain of contexts as it calls itself recursively, that chain is very long.

Given that, do you feel comfortable trying to come up with a fix and submit a PR?

----------

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


More information about the Python-bugs-list mailing list