Python 2.4.2 has been replaced by a newer bugfix release of Python. Please see the releases page to select a more recent release.
We are pleased to announce the release of Python 2.4.2 (final), a bugfix release, on September 28, 2005.
Important: This release is vulnerable to the problem described in security advisory PSF-2006-001 "Buffer overrun in repr() of unicode strings in wide unicode builds (UCS-4)". This fix is included in Python 2.4.4
Python 2.4 is now in bugfix-only mode, no new features are being added. More than 60 bugs have been squashed since Python 2.4.1, including bugs that prevented Python working properly on 64 bit AIX and HP/UX. See the detailed release notes for more,
Please see the separate bugs page for known issues and the bug reporting procedure.
See also the license
Download the release
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.2.msi to your local machine, then double-click python-2.4.2.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.
RPMs for Fedora Core 3 (and similar) are available, see the 2.4.2 RPMs page
All others should download either python-2.4.2.tgz or python-2.4.2.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.2.tgz (or bzcat Python-2.4.2.tar.bz2 | tar -xf -). Change to the Python-2.4.2 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.
- See the highlights of the Python 2.4 release.
- Andrew Kuchling's What's New in Python 2.4 describes the most visible changes since Python 2.3 in more detail.
- A detailed list of the changes in 2.4.2 can be found in the release notes, or the Misc/NEWS file in the source distribution.
- For the full list of changes, you can poke around in CVS.
The documentation has also been updated: