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

Eli Bendersky eliben at gmail.com
Wed Sep 25 15:35:53 CEST 2013


On Wed, Sep 25, 2013 at 6:28 AM, Benjamin Peterson <benjamin at python.org>wrote:

> 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.
>

Lib/compiler/ast.py (that's in 2.4)

Sorry, I should have been more precise
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130925/2a547895/attachment.html>


More information about the Python-Dev mailing list