[Python-Dev] Policy for versions of system python

Amaury Forgeot d'Arc amauryfa at gmail.com
Mon Apr 4 19:11:52 CEST 2011

2011/4/4 Eugene Toder <eltoder at gmail.com>:
> Hello,
> CPython source code currently contains a number of python scripts (e.g
> Python/makeopcodetargets.py, Objects/typeslots.py, Parser/asdl_c.py)
> that are used during the build of the python interpreter itself. For
> this reason they are run with system installed python. What is the
> policy regarding
> the range of python versions that they should support?
> I looked at some of the scripts and they seem to support both 2 and 3,
> starting from at most 2.4. Python/makeopcodetargets.py says at the
> top:
> # This code should stay compatible with Python 2.3, at least while
> # some of the buildbots have Python 2.3 as their system Python.
> Is this the official minimal version or do we have this spelled out
> more explicitly somewhere?

Normally PEP291 lists the packages which should remain compatible
with previous versions of Python:

makeopcodetargets.py is not mentioned there, though.

Amaury Forgeot d'Arc

More information about the Python-Dev mailing list