bpo-43244: Remove ast.h, asdl.h, Python-ast.h headers by vstinner · Pull Request #24933 · python/cpython
The Python :mod:`symtable` module remains available and is unchanged. Use Python :mod:`symtable` module instead. (Contributed by Victor Stinner in :issue:`43244`.)
* Remove ``ast.h``, ``asdl.h``, and ``Python-ast.h`` header files. These functions were undocumented and excluded from the limited C API. Most names defined by these header files were not prefixed by ``Py`` and so could create names conflicts. For example, ``Python-ast.h`` defined a ``Yield`` macro which was conflict with the ``Yield`` name used by the Windows ``<winbase.h>`` header. Use the Python :mod:`ast` module instead. (Contributed by Victor Stinner in :issue:`43244`.)