Author martin.panter
Recipients martin.panter, vstinner, xdegaye, yan12125
Date 2016-07-21.03:05:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1469070336.08.0.178381442419.issue26662@psf.upfronthosting.co.za>
In-reply-to
Content
The new patch looks good enough.

The main reason I complained about the error message is that it sounds like you need Python in order to build Python. Obviously you need Python to run a modified file like typeslots.py, but there is supposed to be an alternative if you don’t need to regenerate files. I think running “make touch” should fudge the timestamps so that Make does not run it. It works for me:

$ touch Objects/typeslots.py
$ make touch
cd .; \
	hg --config extensions.touch=Tools/hg/hgtouch.py touch -v
Touching Objects/typeslots.inc
$ make  # Does not run typeslots.py
gcc [. . .] Objects/typeobject.c
[. . .]

Unfortunately, I understand “make touch” requires Mercurial, which requires Python 2. That weakens my argument about bootstrapping Python, but it is still valid in some scenarios. Maybe we should recommend “make -t Objects/typeslots.inc” etc instead of “make touch”.
History
Date User Action Args
2016-07-21 03:05:36martin.pantersetrecipients: + martin.panter, vstinner, xdegaye, yan12125
2016-07-21 03:05:36martin.pantersetmessageid: <1469070336.08.0.178381442419.issue26662@psf.upfronthosting.co.za>
2016-07-21 03:05:35martin.panterlinkissue26662 messages
2016-07-21 03:05:35martin.pantercreate