[issue43548] RecursionError depth exceptions break pdb's interactive tracing.
Jack DeVries
report at bugs.python.org
Wed Jul 28 19:23:10 EDT 2021
Jack DeVries <jdevries3133 at gmail.com> added the comment:
@behindthebrain, I noticed that this script behaves weirdly when I try to set breakpoints at various places. However, the problem goes away when I raise the recursion limit. Things in python will not work right if you set the recursion limit to a low value. For example, this hello, world program does not run at a recursion depth of four::
import sys
sys.setrecursionlimit(4)
print('hello, world')
----------
nosy: +jack__d
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43548>
_______________________________________
More information about the Python-bugs-list
mailing list