-
- Downloads
bpo-43244: Remove the PyAST_Validate() function (GH-24911)
Remove the PyAST_Validate() function. It is no longer possible to build a AST object (mod_ty type) with the public C API. The function was already excluded from the limited C API (PEP 384). Rename PyAST_Validate() function to _PyAST_Validate(), move it to the internal C API, and don't export it anymore (replace PyAPI_FUNC with extern). The function was added in bpo-12575 by the commit 832bfe2ebd5ecfa92031cd40c8b41835ba90487f.
Showing
- Doc/whatsnew/3.10.rst 5 additions, 0 deletionsDoc/whatsnew/3.10.rst
- Include/ast.h 0 additions, 2 deletionsInclude/ast.h
- Include/internal/pycore_ast.h 2 additions, 0 deletionsInclude/internal/pycore_ast.h
- Misc/NEWS.d/next/C API/2021-03-17-23-20-07.bpo-43244.diyn2C.rst 3 additions, 0 deletions...EWS.d/next/C API/2021-03-17-23-20-07.bpo-43244.diyn2C.rst
- Parser/pegen.c 2 additions, 1 deletionParser/pegen.c
- Python/ast.c 1 addition, 1 deletionPython/ast.c
- Python/bltinmodule.c 2 additions, 1 deletionPython/bltinmodule.c
Loading
Please register or sign in to comment