Guido van Rossum <gu...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue42848> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com