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

"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/asdlc.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.

Regards, Martin



More information about the Python-Dev mailing list