]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-106905: Use separate structs to track recursion depth in each PyAST_mod2obj...
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 25 Dec 2023 20:40:33 +0000 (22:40 +0200)
committerGitHub <noreply@github.com>
Mon, 25 Dec 2023 20:40:33 +0000 (20:40 +0000)
commit4b358d754cf572cc3104fd92416a762a90055477
tree5378ad5a52a7aa563af9a39380a9bdbdcc3e471e
parent1cc594d571d8baf37726debd7d4162c51dd77ecc
[3.11] gh-106905: Use separate structs to track recursion depth in each PyAST_mod2obj call. (GH-113035) (GH-113472) (GH-113476)

(cherry picked from commit 48c49739f5502fc7aa82f247ab2e4d7b55bdca62)
(cherry picked from commit d58a5f453f59f44ccf09b1a9b11a0b879ac6f35b)

Co-authored-by: Yilei Yang <yileiyang@google.com>
Co-authored-by: Gregory P. Smith [Google LLC] <greg@krypto.org>
Include/internal/pycore_ast_state.h
Misc/NEWS.d/next/Core and Builtins/2023-12-13-11-45-53.gh-issue-106905.5dslTN.rst [new file with mode: 0644]
Parser/asdl_c.py
Python/Python-ast.c