]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43244: Rename pycore_ast.h functions to _PyAST_xxx() (GH-25252)
authorVictor Stinner <vstinner@python.org>
Wed, 7 Apr 2021 19:34:22 +0000 (21:34 +0200)
committerGitHub <noreply@github.com>
Wed, 7 Apr 2021 19:34:22 +0000 (21:34 +0200)
commitd27f8d2e07d31670af469ef387a37bc9e96ea8ad
treedbcf728b4340011a6c87ff75f59352599eaba6b8
parent58d72cab89cf9652acc0bf0007aa20b2bcc98499
bpo-43244: Rename pycore_ast.h functions to _PyAST_xxx() (GH-25252)

Rename AST functions of pycore_ast.h to use the "_PyAST_" prefix.
Remove macros creating aliases without prefix. For example, Module()
becomes _PyAST_Module(). Update Grammar/python.gram to use
_PyAST_xxx() functions.
Grammar/python.gram
Include/internal/pycore_ast.h
Lib/test/test_peg_generator/test_c_parser.py
Parser/asdl_c.py
Parser/parser.c
Parser/pegen.c
Parser/string_parser.c
Python/Python-ast.c
Python/ast_opt.c