Release Date: Sept. 19, 2006
Python 2.5 was released on September 19th 2006. There's a bunch of places you can look for more information on what's new in this release -- see the "What's New" section further down this page.
This is a final release, and should be suitable for production use.
PEP 356 includes the schedule and will be updated as the schedule evolves. At this point, any testing you can do would be greatly, greatly appreciated.
Extension authors should note that changes to improve Python's support for 64 bit systems mean that some C extension modules may very well break. This post has some pointers to more information for C extension authors.
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.5.msi, to your local machine, then double-click python-2.5.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 are also separate installers for Win64-Itanium users (on XP/2003 64-bit Itanium Edition) - Python-2.5.ia64.msi and for Win64 users on AMD64 machines (on XP/2003/Vista x64 Edition) - Python-2.5.amd64.msi.
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.
Users of Mac OS X 10.3 and later can install a universal binary (suitable for both PowerPC and Intel machines) from python-2.5-macosx.dmg . Download to the desktop and open the .dmg file to install.
All others should download either python-2.5.tgz or python-2.5.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.5.tgz (or bzcat Python-2.5.tar.bz2 | tar -xf -). Change to the Python-2.5 directory and run the "./configure", "make", "make install" commands to compile and install Python.
Since this is a new version of Python, you may want to use the "make altinstall" command instead of "make install" - this will install a "python2.5" binary without touching the existing "python" binary.
The source archive is also suitable for Windows users who feel the need to build their own version.
- See some of 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.
- PEP 356 has information on a bunch of the new features added in 2.5, as well as pointers to the relevant PEPs.
- A detailed list of the changes in Python 2.5 can be found in the release notes, or the Misc/NEWS file in the source distribution.
- IDLE has its own release notes, or see the Lib/idlelib/NEWS.txt 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
|bzip2 compressed source tarball
|Gzipped source tarball
|Mac OS X installer
|Windows help file
|Windows x86-64 MSI installer
|Windows x86 MSI installer