Differences between revisions 11 and 12
Revision 11 as of 2009-07-01 05:57:07
Size: 1381
Editor: HenriLeFoll
Comment: add link to DebianPython/ListOfPackages
Revision 12 as of 2009-07-28 14:53:20
Size: 1754
Editor: ?techtonik
Comment: * thoroughly describe Python byte-compiler behaviour
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
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
Software written in the Python programming language is executed by Python interpreter and is usually
compiled into platform independent bytecode files to increase performance. Thus software that written
in pure Python can be distributed as source code or as compiled bytecode. The latter is similar to
Java. Python tries to compile and write bytecode *.pyc files alongside with *.py sources when *.py is
executed. Insufficient permissions to write in corresponding directories will only affect performance.

The so-called C-Python interpreter is a software

Python in Debian

Software written in the Python programming language is executed by Python interpreter and is usually compiled into platform independent bytecode files to increase performance. Thus software that written in pure Python can be distributed as source code or as compiled bytecode. The latter is similar to Java. Python tries to compile and write bytecode *.pyc files alongside with *.py sources when *.py is executed. Insufficient permissions to write in corresponding directories will only affect performance.

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 pkg-python. There are many Python modules and extensions maintained by individual developers and by a coordinated group called Debian Python Modules Team. The Debian project contains many other applications written in Python that are maintained by a separate Python Applications Packaging Team.

Status

Debian's latest release Lenny contains multiple Python versions: 2.5 (the default) and 2.4.

Python Policy

See DebianPython/NewPolicy

See also