Python 2.7.0

Note: A bugfix release, 2.7.16, is currently available. Its use is recommended.

Python 2.7.0 was released on July 3rd, 2010.

Python 2.7 is scheduled to be the last major version in the 2.x series before it moves into an extended maintenance period. This release 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: