[Python-Dev] AST structure and maintenance branches

Jeremy Hylton jeremy at alum.mit.edu
Thu Sep 28 16:30:25 CEST 2006

On 9/23/06, Anthony Baxter <anthony at interlink.com.au> wrote:
> I'd like to propose that the AST format returned by passing PyCF_ONLY_AST to
> compile() get the same guarantee in maintenance branches as the bytecode
> format - that is, unless it's absolutely necessary, we'll keep it the same.
> Otherwise anyone trying to write tools to manipulate the AST is in for a
> massive world of hurt.
> Anyone have any problems with this, or can it be added to PEP 6?

It's possible we should poll developers of other Python
implementations and find out if anyone has objections to supporting
this AST format.  But in principle, it sounds like a good idea to me.


More information about the Python-Dev mailing list