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 3.1.2

Release Date: March 20, 2010

Note: It is recommended that you use the latest bug fix release of the 3.1 series, 3.1.4.

Python 3.1.2 was released on March 21st, 2010.

The Python 3.1 version series is a continuation of the work started by Python 3.0, the new backwards-incompatible series of Python. Improvements in this release include:

  • An ordered dictionary type
  • Various optimizations to the int type
  • New unittest features including test skipping and new assert methods.
  • A much faster io module
  • Tile support for Tkinter
  • A pure Python reference implementation of the import statement
  • New syntax for nested with statements

See these resources for further information:

Help fund Python and its community by donating to the Python Software Foundation.


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

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 installers are signed with Martin von Löwis' public key which has a key id of 7D9DC8D2. The Mac disk image was signed by Ronald Oussoren's public key which has a key id of E6DF025C. The public keys are located on the download page.

MD5 checksums and sizes of the released files:

08d01c468989d1f2cc560c23f8e6a7ea  11661773  Python-3.1.2.tgz
45350b51b58a46b029fb06c61257e350   9719769  Python-3.1.2.tar.bz2
a50d1fe2648783126c7a70654a08b755  14369280  python-3.1.2.amd64.msi
098269f6057916821e41e82e7a7be227  14098432  python-3.1.2.msi
597ba520c9c989f23464e0bf534db389  17418524  python-3.1.2-macosx10.3-2010-03-24.dmg
[1]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).

Full Changelog


Version Operating System Description MD5 Sum File Size GPG
Gzipped source tarball Source release 12c26d08d63dd636073466bb84fa8041 48.2 MB SIG
bzip2 compressed source tarball Source release 45350b51b58a46b029fb06c61257e350 9.3 MB SIG
Mac OS X installer macOS 597ba520c9c989f23464e0bf534db389 16.6 MB
Windows x86 MSI installer Windows 098269f6057916821e41e82e7a7be227 13.4 MB SIG
Windows x86-64 MSI installer Windows for AMD64/EM64T/x64 a50d1fe2648783126c7a70654a08b755 13.7 MB SIG