[issue12421] Use PYTHON when calling Parser/asdl_c.py

R. David Murray report at bugs.python.org
Mon Jun 27 15:30:18 CEST 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

I don't believe we have any desire to support unix systems that do not define 'python', and 'python3' executables in the path.  If the distribution wishes to do that they'll have to patch everything to accommodate it.

That however is mostly irrelevant to this case.  asdl_c.py is not needed for building python.  The files it generates are already generated and included in the release tarballs, and in the release tarballs the file timestamps should be such that asdl_c.py is not invoked.  (When working from a checkout this may not be true due to vcs tool file timestamp issues; you just have to touch the files manually in that case.)  When the file *is* run, it is not the python being built that is used to run it, it is an already existing python.  So using the PYTHON variable in the Makefile would be incorrect.

----------
nosy: +r.david.murray
resolution:  -> invalid
stage:  -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12421>
_______________________________________


More information about the Python-bugs-list mailing list