diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-08-03 09:45:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-03 09:45:45 (GMT) |
commit | efcd65cd84d5ebcc6cacb67971f235a726a205e7 (patch) | |
tree | 3646a68f084ced9a0b0f39f013290f9242d1cde2 /Python/pythonrun.c | |
parent | fe0a28d850943cf2ba132c9b0a933bb0c98ff0ae (diff) | |
download | cpython-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