bpo-40939: Remove the old parser (Part 2) by lysnikolaou · Pull Request #21005 · python/cpython · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .gitattributes
11 changes: 0 additions & 11 deletions Include/ast.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,8 @@ extern "C" {
#endif

#include "Python-ast.h" /* mod_ty */
#include "node.h" /* node */

PyAPI_FUNC(int) PyAST_Validate(mod_ty);
PyAPI_FUNC(mod_ty) PyAST_FromNode(
const node *n,
PyCompilerFlags *flags,
const char *filename, /* decoded from the filesystem encoding */
PyArena *arena);
PyAPI_FUNC(mod_ty) PyAST_FromNodeObject(
const node *n,
PyCompilerFlags *flags,
PyObject *filename,
PyArena *arena);

/* _PyAST_ExprAsUnicode is defined in ast_unparse.c */
PyAPI_FUNC(PyObject *) _PyAST_ExprAsUnicode(expr_ty);
Expand Down
23 changes: 0 additions & 23 deletions Include/bitset.h

This file was deleted.

4 changes: 0 additions & 4 deletions Include/compile.h
94 changes: 0 additions & 94 deletions Include/graminit.h

This file was deleted.

77 changes: 0 additions & 77 deletions Include/grammar.h

This file was deleted.

47 changes: 0 additions & 47 deletions Include/node.h

This file was deleted.

110 changes: 0 additions & 110 deletions Include/parsetok.h

This file was deleted.

Loading