Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience.

Python 2.4.2

Release Date: Sept. 27, 2005

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,

For more information on the new features of Python 2.4 see the 2.4 highlights or consult Andrew Kuchling's What's New In Python for a more detailed view.

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.

The new format installer allows for automated installation and many other shiny new features. There is also a separate installer Python-2.4.2.ia64.msi for Win64-Itanium users.

Windows users may also be interested in Mark Hammond's pywin32 package, available from Sourceforge. pywin32 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.

What's New?

  • 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:

Files, MD5 checksums, signatures and sizes

07cfc759546f6723bb367be5b1ce9875 Python-2.4.2.tgz (9239975 bytes, signature)

98db1465629693fc434d4dc52db93838 Python-2.4.2.tar.bz2 (7853169 bytes, signature)

bfb6fc0704d225c7a86d4ba8c922c7f5 python-2.4.2.msi (9671168 bytes, signature)

f9a189a11316dc523732b38334c9dd7b python-2.4.2.ia64.msi (8110080 bytes, signature)

XXXXX575a2c5d6ab24be10c38154551a MacPython-OSX-2.4.2-1.dmg (7918391 bytes, signature)

The signatures above were generated with GnuPG using release manager Anthony Baxter's public key which has a key id of 6A45C816.

Full Changelog


Version Operating System Description MD5 Sum File Size GPG
Gzipped source tarball Source release 15a46a67c031a378b67b1f978ac56a51 37.5 MB SIG
bzip2 compressed source tarball Source release 98db1465629693fc434d4dc52db93838 7.5 MB SIG
Windows help file Windows 0ea24d9d000c773760a6eae98506b8c3 3.6 MB SIG
Windows x86 MSI installer Windows f9a189a11316dc523732b38334c9dd7b 7.7 MB SIG