]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43244: Add pycore_ast.h header file (GH-24908)
authorVictor Stinner <vstinner@python.org>
Wed, 17 Mar 2021 22:50:50 +0000 (23:50 +0100)
committerGitHub <noreply@github.com>
Wed, 17 Mar 2021 22:50:50 +0000 (23:50 +0100)
commit526fdeb2278b61653df704d7cfcaedde504dee48
tree8c17493b7a55c2af626acdd2134920d8ca0a6757
parentb4536e1c6abe4c6219177a89e16575d05ea22f64
bpo-43244: Add pycore_ast.h header file (GH-24908)

Move _PyAST_GetDocString() and _PyAST_ExprAsUnicode() functions the
internal C API: from Include/ast.h to a new
Include/internal/pycore_ast.h header file. Don't export these
functions anymore: replace PyAPI_FUNC() with extern.

Remove also unused includes.
Include/ast.h
Include/internal/pycore_ast.h [new file with mode: 0644]
Makefile.pre.in
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Python/ast_opt.c
Python/compile.c
Python/future.c