[Python-Dev] PEP 306 changes (How to Change Python's Grammar)

"Martin v. Löwis" martin at v.loewis.de
Sat Mar 3 09:08:53 CET 2007

Jack Diederich schrieb:
>     __ Parser/Python.asdl may need changes to match the Grammar.
>        Use Parser/asdl_c.py to regenerate Include/Python-ast.h

On Unix, make will automatically run it when Python.asdl changes.

>     __ Python/Python-ast.c may need changes to create the AST
>        objects involved with the Grammar change.

This will also change when asdl_c.py runs.

>     __ Parser/pgen needs to be rerun to regenerate Include/graminit.h
>        and Include/graminit.c

This will also be done by the makefile automatically.


More information about the Python-Dev mailing list