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.4 Release

Python 3.1.4

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

Python 3.1.4 was released on June 11th, 2011.

The Python 3.1 version series is a continuation of the work started by Python 3.0, the new backwards-incompatible series of Python. For ongoing maintenance releases, please see the Python 3.2 series. Improvements in the the 3.1 series 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 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:

fa9f8efdc63944c8393870282e8b5c35  11795512  Python-3.1.4.tgz
09ed98eace4c403b475846702708675e   9887870  Python-3.1.4.tar.bz2
dcd128e69f8ee239182b54e33313aac7   8184052  Python-3.1.4.tar.xz
4384d3fa1ae96d0f21c37c7aff03161f  17580055  python-3.1.4-macosx10.3.dmg
b632340d63c6583382f77358f7f220ce  12711906
c0f83b5097289b8d874be950f1c8a99a  13531106
829794fc7902880e4d55c7937c364541  14557184  python-3.1.4.amd64.msi
142acb595152b322f5341045327a42b8  14282752  python-3.1.4.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]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.