[issue36272] Recursive logging crashes Interpreter in Python 3
Saim Raza
report at bugs.python.org
Wed Mar 13 06:41:03 EDT 2019
Saim Raza <saimorsaim at gmail.com> added the comment:
Stack exhaustion doesn't seem to be due to be the root cause. A simple recursive function doesn't crash the interpreter in Python 3.6.
>>> def rec(): rec()
>>> rec()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 1, in rec
File "<stdin>", line 1, in rec
File "<stdin>", line 1, in rec
[Previous line repeated 995 more times]
RecursionError: maximum recursion depth exceeded
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36272>
_______________________________________
More information about the Python-bugs-list
mailing list