8000 gh-106905: Use separate structs to track recursion depth in each PyAST_mod2obj call. by yilei · Pull Request #113035 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-106905: Use separate structs to track recursion depth in each PyAST_mod2obj call. #113035

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 25, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove trailing whitespace.
  • Loading branch information
gpshead committed Dec 13, 2023
commit a7e3b91c2b1ec5651c3f2c7d383512baf55fc12f
2 changes: 1 addition & 1 deletion Parser/asdl_c.py
5EA7
Original file line number Diff line number Diff line change
Expand Up @@ -1536,7 +1536,7 @@ def generate_module_def(mod, metadata, f, internal_h):
#include "pycore_interp.h" // _PyInterpreterState.ast
#include "pycore_pystate.h" // _PyInterpreterState_GET()
#include <stddef.h>

struct validator {
int recursion_depth; /* current recursion depth */
int recursion_limit; /* recursion limit */
Expand Down
0