[Python-Dev] asdl.py and Python-ast.[hc] (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Thu Sep 26 23:23:42 CEST 2013


On Thu, 26 Sep 2013 14:19:59 -0700 Eli Bendersky <eliben at gmail.com> wrote:

On Thu, Sep 26, 2013 at 2:00 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:

> On Thu, 26 Sep 2013 14:43:48 -0400 > Benjamin Peterson <benjamin at python.org> wrote: > > 2013/9/26 Eli Bendersky <eliben at gmail.com>: > > > > > > > > > > > > On Thu, Sep 26, 2013 at 7:28 AM, Benjamin Peterson <_ _> benjamin at python.org> > > > wrote: > > >> > > >> 2013/9/26 Eli Bendersky <eliben at gmail.com>: > > >> > Hi All, > > >> > > > >> > Earlier this morning I had a slight tackle with a couple of the 3.4 > bots > > >> > (sorry everyone!). I fixed some problems in asdl.py - > > >> > http://hg.python.org/cpython/rev/21d46e3ae60c - and used the 'with' > > >> > statement. Some bots don't have Python 2.6+ and couldn't bootstrap > > >> > Python-ast.h/c > > >> > > > >> > Two questions: > > >> > > > >> > * Should I always check-in Python-ast.h and Python-ast.c when I > touch > > >> > asdl* > > >> > ? The generated files are unchanged, it's only the timestamp that > > >> > changed. > > >> > * Can we, in theory, use new Pythons for asdl* code, because > > >> > Python-ast.* > > >> > are, in fact, checked in so they don't have to be rebuilt by the > bots or > > >> > users? > > >> > > >> We should have the buildbots run "make touch", so they don't need to > > >> run asdlc.py. > > > > > > > > > How should we go about doing this? > > > > Complain to Antoine I suppose. :) > > Here you are: > > http://buildbot.python.org/all/builders/AMD64%20Snow%20Leop%203.x/builds/28/steps/compile/logs/stdio > > Of course, when it's using "-jN" there may be a race condition :-) > Right, which is probably even worse than before because now it's non-deterministic (first build will fail, subsequent will succeed).

Only if "N" in "-jN" is big enough, I suspect.

Is there a way to split it to:

$ make touch $ make -jN all

Probably but... I'm really too lazy to do this myself. Buildbot isn't very pleasant. Perhaps someone else wants to do it?

Regards

Antoine.



More information about the Python-Dev mailing list