summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-08-03 09:45:45 (GMT)
committerGitHub <noreply@github.com>2024-08-03 09:45:45 (GMT)
commitefcd65cd84d5ebcc6cacb67971f235a726a205e7 (patch)
tree3646a68f084ced9a0b0f39f013290f9242d1cde2 /Python/pythonrun.c
parentfe0a28d850943cf2ba132c9b0a933bb0c98ff0ae (diff)
downloadcpython-efcd65cd84d5ebcc6cacb67971f235a726a205e7.zip
cpython-efcd65cd84d5ebcc6cacb67971f235a726a205e7.tar.gz
cpython-efcd65cd84d5ebcc6cacb67971f235a726a205e7.tar.bz2
gh-122313: Clean up deep recursion guarding code in the compiler (GH-122640)
Add ENTER_RECURSIVE and LEAVE_RECURSIVE macros in ast.c, ast_opt.c and symtable.c. Remove VISIT_QUIT macro in symtable.c. The current recursion depth counter only needs to be updated during normal execution -- all functions should just return an error code if an error occurs.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions