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.5.4

Release Date: Dec. 23, 2008

This is the last bugfix release of Python 2.5. Future releases of Python 2.5 will only contain security patches; no new features are being added, and no "regular" bugs will be fixed anymore. According to the release notes, about 80 bugs and patches have been addressed since Python 2.5.2, many of them improving the stability of the interpreter, and improving its portability. Python 2.5.3 unfortunately contained an incorrect patch that could cause interpreter crashes; the only change in Python 2.5.4 relative to 2.5.4 is the reversal of this patch. Future releases will only address security isses, and no binaries or documentation updates will be provided in future releases of Python 2.5.

If you want the latest production version of Python, use Python 2.7.2 or later.

See the detailed release notes for more details.

For more information on the new features of Python 2.5 see the 2.5 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


For x86 processors: python-2.5.4.msi

For Win64-Itanium users: python-2.5.4.ia64.msi

For Win64-AMD64 users: python-2.5.4.amd64.msi

This installer allows for automated installation and many other new features.

To use these installers, the Windows system must support Microsoft Installer 2.0. Just save the installer file to your local machine and then run it to find out if your machine supports MSI.

Windows XP and later already have MSI; many older machines will already have MSI installed.

If your machine lacks Microsoft Installer, you'll have to download it freely from Microsoft for Windows 95, 98 and Me and for Windows NT 4.0 and 2000.

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.


For MacOS X 10.3 and later: python-2.5.4-macosx.dmg. This is a Universal installer.

The Universal OS X image contains an installer for python 2.5.4 that works on Mac OS X 10.3.9 and later, on both PPC and Intel Macs. The compiled libraries include both bsddb and readline.

Other platforms

gzip-compressed source code: Python-2.5.4.tgz

bzip2-compressed source code: Python-2.5.4.tar.bz2, the source archive.

The bzip2-compressed version is considerably smaller, so get that one if your system has the appropriate tools to deal with it.

Unpack the archive with tar -zxvf Python-2.5.4.tgz (or bzcat Python-2.5.4.tar.bz2 | tar -xf -). Change to the Python-2.5.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.

What's New?

  • See the highlights of the Python 2.5 release.
  • Andrew Kuchling's What's New in Python 2.5 describes the most visible changes since Python 2.4 in more detail.
  • A detailed list of the changes in 2.5.4 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 Subversion.


The documentation has also been updated:

Files, MD5 checksums, signatures and sizes

ad47b23778f64edadaaa8b5534986eed Python-2.5.4.tgz (11604497 bytes, signature)

394a5f56a5ce811fb0f023197ec0833e Python-2.5.4.tar.bz2 (9821313 bytes, signature)

b4bbaf5a24f7f0f5389706d768b4d210 python-2.5.4.msi (11323392 bytes, signature)

b1e1e2a43324b0b6ddaff101ecbd8913 python-2.5.4.amd64.msi (11340800 bytes, signature)

1acf900a3daf3f99d1a5511c2df98853 python-2.5.4.ia64.msi (13567488 bytes, signature)

d8bd62fd175f5f9e9f4573e31096747e python-2.5.4-macosx.dmg (19277129 bytes, signature)

46d82531cfb9384d19d1bb4c9bbcfbab Python25.chm (4182312 bytes, signature)

The signatures above were generated with GnuPG using release manager Martin v. Löwis's public key which has a key id of 7D9DC8D2.

Full Changelog


Version Operating System Description MD5 Sum File Size GPG
Gzipped source tarball Source release f58e4d4cd0e7764f187f775f2a0a4384 47.8 MB SIG
bzip2 compressed source tarball Source release 394a5f56a5ce811fb0f023197ec0833e 9.4 MB SIG
Mac OS X installer macOS d8bd62fd175f5f9e9f4573e31096747e 18.4 MB SIG
Windows help file Windows 46d82531cfb9384d19d1bb4c9bbcfbab 4.0 MB SIG
Windows x86 MSI installer Windows b4bbaf5a24f7f0f5389706d768b4d210 10.8 MB SIG
Windows x86-64 MSI installer Windows for AMD64/EM64T/x64 b1e1e2a43324b0b6ddaff101ecbd8913 10.8 MB SIG