We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
This was reported here: https://discuss.python.org/t/has-sys-setrecursionlimit-behaviour-changed-in-python-3-12b/30205
The following program works fine on 3.11, but crashes with RecursionError on 3.12:
d = {} for x in range(1_000): d = {'k': d} import json, sys sys.setrecursionlimit(100_000_000) foo = json.dumps(d)
I confirmed this bisects to #96510
_PyEval_EvalFrameDefault()
Status
This was reported here: https://discuss.python.org/t/has-sys-setrecursionlimit-behaviour-changed-in-python-3-12b/30205
The following program works fine on 3.11, but crashes with RecursionError on 3.12:
I confirmed this bisects to #96510
Linked PRs
_PyEval_EvalFrameDefault()#107535_PyEval_EvalFrameDefault()(GH-107535) #107618