[Python-Dev] should I really have to install Python before Icanbuild it ?

Brett Cannon bcannon at gmail.com
Wed Dec 14 06:29:43 CET 2005


On 12/13/05, Neil Schemenauer <nas at arctrix.com> wrote:
> Armin Rigo <arigo at tunes.org> wrote:
> > On Mon, Dec 12, 2005 at 10:23:27PM +0100, Fredrik Lundh wrote:
> >> $(AST_H) $(AST_C): $(AST_ASDL) $(ASDLGEN_FILES)
> >>         -$(PYTHON) $(ASDLGEN) $(AST_ASDL)
>
> > The same just-ignore-it behavior can bite if the script genuinely fails
> > after you just made a typo in one of the input files, for example.
> > Doesn't look particularly clean to me, if you want my opinion.
>
> Perhaps a good solution would be to have a separate make rule for
> generating the AST code (i.e. not included in the overall dependancy
> graph).  That increases the chance that they don't get regenerated
> when they should but people hacking on the AST files should notice
> the error pretty easily.  Other people should always be able to
> build from the files checked in to SVN and so having the dependancy
> there is just a source of trouble.
>

Sounds reasonable to me.  Would just need to make sure that it is
documented in the proper places so people know to do it.

-Brett


More information about the Python-Dev mailing list