[Python-Dev] python 2 for building python 3

"Martin v. Löwis" martin at v.loewis.de
Sat Dec 4 10:13:11 CET 2010


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


More information about the Python-Dev mailing list