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

Release Date: Sept. 3, 2011

Note: A newer security-fix release, 3.2.6, is currently available. Its use is recommended.

Python 3.2.2 was released on September 4th, 2011. It mainly fixes a regression in the urllib.request module that prevented opening many HTTP resources correctly with Python 3.2.1.

Python 3.2 is a continuation of the efforts to improve and stabilize the Python 3.x line. Since the final release of Python 2.7, the 2.x line will only receive bugfixes, and new features are developed for 3.x only.

Since PEP 3003, the Moratorium on Language Changes, is in effect, there are no changes in Python's syntax and only few changes to built-in types in Python 3.2. Development efforts concentrated on the standard library and support for porting code to Python 3. Highlights are:

  • numerous improvements to the unittest module
  • PEP 3147, support for .pyc repository directories
  • PEP 3149, support for version tagged dynamic libraries
  • PEP 3148, a new futures library for concurrent programming
  • PEP 384, a stable ABI for extension modules
  • PEP 391, dictionary-based logging configuration
  • an overhauled GIL implementation that reduces contention
  • an extended email package that handles bytes messages
  • a much improved ssl module with support for SSL contexts and certificate hostname matching
  • a sysconfig module to access configuration information
  • additions to the shutil module, among them archive file support
  • many enhancements to configparser, among them mapping protocol support
  • improvements to pdb, the Python debugger
  • countless fixes regarding bytes/string issues; among them full support for a bytes environment (filenames, environment variables)
  • many consistency and behavior fixes for numeric operations

See these resources for further information:

Download

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

We currently support these formats for download:

The source tarballs are signed with Georg Brandl's key, which has a key id of 36580288; the fingerprint is 26DE A9D4 6133 91EF 3E25 C9FF 0A5B 1018 3658 0288. 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:

3c63a6d97333f4da35976b6a0755eb67  12732276  Python-3.2.2.tgz
9d763097a13a59ff53428c9e4d098a05  10743647  Python-3.2.2.tar.bz2
3720ce9460597e49264bbb63b48b946d   8923224  Python-3.2.2.tar.xz
f6001a9b2be57ecfbefa865e50698cdf  19519332  python-3.2.2-macosx10.3.dmg
8fe82d14dbb2e96a84fd6fa1985b6f73  16226426  python-3.2.2-macosx10.6.dmg
cccb03e14146f7ef82907cf12bf5883c  18241506  python-3.2.2-pdb.zip
72d11475c986182bcb0e5c91acec45bc  19940424  python-3.2.2.amd64-pdb.zip
ddeb3e3fb93ab5a900adb6f04edab21e  18542592  python-3.2.2.amd64.msi
8afb1b01e8fab738e7b234eb4fe3955c  18034688  python-3.2.2.msi
[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).
[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

Files

Version Operating System Description MD5 Sum File Size GPG
Gzipped source tarball Source release 9dce58f27d00e993312cdce78323cb9d 53.2 MB SIG
XZ compressed source tarball Source release 3720ce9460597e49264bbb63b48b946d 8.5 MB SIG
bzip2 compressed source tarball Source release 9d763097a13a59ff53428c9e4d098a05 10.2 MB SIG
Mac OS X 32-bit i386/PPC installer macOS for Mac OS X 10.3 and later f6001a9b2be57ecfbefa865e50698cdf 18.6 MB SIG
Mac OS X 64-bit/32-bit installer macOS for Mac OS X 10.6 and later 8fe82d14dbb2e96a84fd6fa1985b6f73 15.5 MB SIG
Windows help file Windows ee857dfdaf0ab02cad35ead2eac0dbff 10.5 KB SIG
Windows debug information files Windows cccb03e14146f7ef82907cf12bf5883c 17.4 MB SIG
Windows x86 MSI installer Windows 8afb1b01e8fab738e7b234eb4fe3955c 17.2 MB SIG
Windows x86-64 MSI installer Windows for AMD64/EM64T/x64 ddeb3e3fb93ab5a900adb6f04edab21e 17.7 MB SIG