[Python-Dev] astgen.py vs. ASDL for ASTs

Benjamin Peterson benjamin at python.org
Wed Sep 25 15:28:08 CEST 2013


2013/9/25 Eli Bendersky <eliben at gmail.com>:
> Hello,
>
> Some history (as best as I could collect it) followed by a question:
>
> Before Python 2.5, the ast stdlib module was auto generated by a script
> named astgen.py from a textual AST definition in Tools/compiler/ast.txt.

Sorry, what Python 2.4 ast stdlib module? Any module named "ast" (or
"_ast") didn't exist until 2.5.


-- 
Regards,
Benjamin


More information about the Python-Dev mailing list