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

Release Date: June 11, 2011

Note: A newer bugfix release, 2.7.3, is currently available. Its use is recommended over Python 2.7.2.

Python 2.7.2 was released on June 11th, 2011.

The Python 2.7 series is scheduled to be the last major version in the 2.x series before 2.x moves into an extended maintenance period. The 2.7 series contains many of the features that were first released in Python 3.1. Improvements in this release include:

  • An ordered dictionary type
  • New unittest features including test skipping, new assert methods, and test discovery
  • A much faster io module
  • Automatic numbering of fields in the str.format() method
  • Float repr improvements backported from 3.x
  • Tile support for Tkinter
  • A backport of the memoryview object from 3.x
  • Set literals
  • Set and dictionary comprehensions
  • Dictionary views
  • New syntax for nested with statements
  • The sysconfig module

See these resources for further information:


This is a production release. Please report any bugs you encounter.

We currently support these formats for download:

The source tarballs are signed with Benjamin Peterson's key (fingerprint: 12EF 3DC3 8047 DA38 2D18 A5B9 99CD EA9D A413 5B38). The Windows installer was signed by Martin von Löwis' public key, which has a key id of 7D9DC8D2. The Mac installers were signed with Ned Deily's key, which has a key id of 6F5E1540. The public keys are located on the download page.

MD5 checksums and sizes of the released files:

0ddfe265f1b3d0a8c2459f5bf66894c7  14091337  Python-2.7.2.tgz
ba7b2f11ffdbf195ee0d111b9455a5bd  11754834  Python-2.7.2.tar.bz2
75c87a80c6ddb0b785a57ea3583e04fa   9936152  Python-2.7.2.tar.xz
348bf509e778ed2e193d08d02eee5566  22041602  python-2.7.2-macosx10.3.dmg
92bc7480a840182aac486b2afd5c4181  18632739  python-2.7.2-macosx10.6.dmg
e78e8520765af3cbb1cddbef891830bf  16122946
89954c70f9eff948f43964ab5d1d5f8c  17204290
937e2551a5d1c37a13a5958c83a05e3f  16334848  python-2.7.2.amd64.msi
44c8bbe92b644d78dd49e18df354386f  15970304  python-2.7.2.msi
[1](1, 2) The binaries for AMD64 will also work on processors that implement the Intel 64 architecture (formerly EM64T), i.e. the architecture that Microsoft calls x64, and AMD called x86-64 before calling it AMD64. They will not work on Intel Itanium Processors (formerly IA-64).
[2](1, 2) There is important information about IDLE, Tkinter, and Tcl/Tk on Mac OS X here. Also, on Mac OS X 10.6, if you need to build C extension modules with the 32-bit-only Python installed, you will need Apple Xcode 3, not 4. The 64-bit/32-bit Python can use either Xcode 3 or Xcode 4.

Full Changelog


Version Operating System Description MD5 Sum File Size GPG
Gzipped source tarball Source release ceac2c4a6a3607799097eae6c2f1f398 60.5 MB SIG
XZ compressed source tarball Source release 75c87a80c6ddb0b785a57ea3583e04fa 9.5 MB SIG
bzip2 compressed source tarball Source release ba7b2f11ffdbf195ee0d111b9455a5bd 11.2 MB SIG
Mac OS X 32-bit i386/PPC installer macOS for Mac OS X 10.3 and later 348bf509e778ed2e193d08d02eee5566 21.0 MB SIG
Mac OS X 64-bit/32-bit installer macOS for Mac OS X 10.6 and later 92bc7480a840182aac486b2afd5c4181 17.8 MB SIG
Windows debug information files Windows e78e8520765af3cbb1cddbef891830bf 15.4 MB SIG
Windows x86 MSI installer Windows 44c8bbe92b644d78dd49e18df354386f 15.2 MB SIG
Windows x86-64 MSI installer Windows for AMD64/EM64T/x64 937e2551a5d1c37a13a5958c83a05e3f 15.6 MB SIG