Python in Debian

Software written in the Python programming language is usually compiled into platform independent bytecode files. This is similar to Java. The so-called C-Python interpreter is a software package containing both the compiler and the bytecode interpreter used to execute Python bytecode files. Unfortunately precompiled bytecode files are incompatible from Python version to Python version. Precompiled Python bytecode files distributed in Debian packages must therefore match one of the available Python interpreter versions available on a certain Debian system. Within the Debian project the Python compiler/interpreter package is maintained by a developers team known as [http://alioth.debian.org/projects/pkg-python pkg-python]. There are many Python modules and extensions maintained by individual developers and by a coordinated group called [:Teams/PythonModulesTeam:Debian Python Modules Team]. The Debian project contains many other applications written in Python.

Status

Debian latest release Sarge contains multiple Python versions: 2.1, 2.2, 2.3, 2.4. Unfortunately not all the modules, extensions and applications supports every version and support four different Python versions simultaneously with a good quality isn't so easy.

We're working right now in a better infrastructure for transitions between versions and hopefully we will just include Python 2.4 in our next release to turn the support easier. Actually Debian Unstable (also known as sid) contains Python 2.3 (as default) and Python 2.4 only.

Python Policy

See DebianPython/NewPolicy