Python 2.4.2 is a bugfix release which supercedes Python 2.4.
We are pleased to announce the release of Python 2.4, final on November 30, 2004. This is a final, stable release, and we can recommend that Python users upgrade to this version.
Note: there's a security fix for SimpleXMLRPCServer.py - this fix is included in 2.4.1
Python 2.4 is the result of almost 18 month's worth of work on top of Python 2.3 and represents another stage in the careful evolution of Python. New language features have been kept to a minimum, many bugs have been fixed and a variety of improvements have been made.
Notable changes in Python 2.4 include improvements to the importing of modules, function decorators, generator expressions, a number of new modules (including subprocess, decimal and cookielib) and a host of bug fixes and other improvements. See the (subjective) highlights or the detailed release notes for more, or consult Andrew Kuchling's What's New In Python for a detailed view of some of the new features of Python 2.4.
Please see the separate bugs page for known issues and the bug reporting procedure.
Starting with the Python 2.4 releases the Windows Python installer is being distributed as a Microsoft Installer (.msi) file. To use this, the Windows system must support Microsoft Installer 2.0. Just save the installer file python-2.4.msi to your local machine, then double-click python-2.4.msi to find out if your machine supports MSI. If it doesn't, you'll need to install Microsoft Installer first. Many other packages (such as Word and Office) also include MSI, so you may already have it on your system. If not, you can download it freely from Microsoft for Windows 95, 98 and Me and for Windows NT 4.0 and 2000. Windows XP and later already have MSI; many older machines will already have MSI installed.
Windows users may also be interested in Mark Hammond's win32all package, available from Sourceforge. win32all adds a number of Windows-specific extensions to Python, including COM support and the Pythonwin IDE.
Debian users using Sarge: Python 2.4 has already been packaged for you. Simply apt-get install python2.4. Note that you will also need to install python2.4 versions of any other modules you use.
All others should download either Python-2.4.tgz or Python-2.4.tar.bz2, the source archive. The tar.bz2 is considerably smaller, so get that one if your system has the appropriate tools to deal with it. Unpack it with tar -zxvf Python-2.4.tgz (or bzcat Python-2.4.tar.bz2 | tar -xf -). Change to the Python-2.4 directory and run the "./configure", "make", "make install" commands to compile and install Python. The source archive is also suitable for Windows users who feel the need to build their own version.
Fedora Core 3 users can download RPMs, or build from source. An SRPM is also available for other RPM-based systems, or the source tar-file can be used (see the "rpm" man page for the "-ta" options).
The documentation has also been updated:
Downloadable packages of the documentation will be available shortly.