]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] GH-107263: Increase C stack limit for most functions, except `_PyEval_EvalFram...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 4 Aug 2023 10:25:51 +0000 (03:25 -0700)
committerGitHub <noreply@github.com>
Fri, 4 Aug 2023 10:25:51 +0000 (12:25 +0200)
commit98902d6c0522df022d2f88499faf9774970e2838
tree3c5919fae5314286a774ae9ebe8e682a4b5d50c5
parent58af2293c52a1ad3754d254690c0e54f787c545b
[3.12] GH-107263: Increase C stack limit for most functions, except `_PyEval_EvalFrameDefault()` (GH-107535) (#107618)

GH-107263: Increase C stack limit for most functions, except `_PyEval_EvalFrameDefault()` (GH-107535)

* Set C recursion limit to 1500, set cost of eval loop to 2 frames, and compiler mutliply to 2.
(cherry picked from commit fa45958450aa3489607daf9855ca0474a2a20878)

Co-authored-by: Mark Shannon <mark@hotpy.org>
21 files changed:
Doc/whatsnew/3.12.rst
Include/cpython/pystate.h
Lib/test/list_tests.py
Lib/test/mapping_tests.py
Lib/test/support/__init__.py
Lib/test/test_ast.py
Lib/test/test_call.py
Lib/test/test_compile.py
Lib/test/test_dict.py
Lib/test/test_dictviews.py
Lib/test/test_exception_group.py
Lib/test/test_zlib.py
Misc/NEWS.d/next/Core and Builtins/2023-07-30-05-20-16.gh-issue-107263.q0IU2M.rst [new file with mode: 0644]
Parser/asdl_c.py
Python/Python-ast.c
Python/ast.c
Python/ast_opt.c
Python/bytecodes.c
Python/ceval.c
Python/generated_cases.c.h
Python/symtable.c