On Dec 4, 2010, at 11:13, "Martin v. Löwis" <mar...@v.loewis.de> wrote:
> Am 04.12.2010 09:48, schrieb Eli Bendersky:
>> To build the trunk Python 3k, it seems that Python 2 has to be installed.
>> This is because Objects/typeslots.py is called in the Makefile, and this
>> file uses Python 2 "print statement" syntax, which fails if $(PYTHON) is
>> actually Python 3.
>
> This shouldn't be necessary, as typeslots.inc is also checked into
> subversion, and should have a newer time stamp than typeslots.inc
> (perhaps not currently, but that is the plan, anyway).
>
> In any case, I now made the script 2-vs-3-agnostic.
>
> Regards,
> Martin
I had the error pop out in a real build, so the time stamp is probably not a
100% guarantee. Therefore I think it's good that you made it version agnostic.
This should be probably be a requirement for all scripts that are part of the
build.
Thanks,
Eli
_______________________________________________
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