On 2/11/07, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> Brett Cannon schrieb:
> > On 2/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >> Someone checked in Parser/Python.asdl.  After rebuilding Subversion tells 
> >> me
> >> that Python/Python-ast.c has been modified.  I assume the two are related.
> >> Did whoever checked in the former need to check in the latter
> >
> > Yeah, sorry about that.  It took a ``make distclean`` for it to get
> > regenerated for me.  I checked in the updated version.
>
> Actually, the regenerating should happen immediately after commit,
> as this bumps the revision number of the asdl file. This means
> you have to make two commits per AST grammar change: one to change
> the grammar, and the other to update the regenerated file.
>

Revision 53751 adds a comment to Python-ast.c about this now, along
with putting __version__ in the header as well.

-Brett
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to