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.
...dictionary hashing of the names, set all names to None that start with exactly one underscore. C2. In an order determined by the dictionary hashing of the names, set all names to None except __builtins__. [This used to be "all names that do not start with two or more underscores".] [Deleted step: In an order determined by the dictionary hashing of the names, delete all remaining names from the module's dictionary (this is done by a call to __dict__.clear()).] C3. The m...
...dictionary. In Python, this is done by implementing specific special methods such as __getitem__(), __setitem__(), and so forth. By emulating a dictionary, nearly every other Python function that operates on a dictionary would work with our manager. It also made the code easier to understand and debug because the syntax and point-of-call usage fit naturally with what people expect. Python facilitated our Property manager implementation in other ways as well. One PyDrone feature that had been req...
Version: None
Released: July 3, 2010
Note: A bugfix release, 2.7.13, 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 …
View Release Notes
...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: What's new in 2.7? Change log for...
Released: Nov. 26, 2014
Python 2.7.9rc1 is the first release candidate for the next bugfix version of the Python 2.7 series. Python 2.7.9 will include several significant changes unprecedented in a "bugfix" release: The entirety of Python 3.4's ssl module has been backported for Python 2.7.9. See PEP 466 for justification. HTTPS certificate validation …
Released: Nov. 27, 2010
Note: A newer bugfix release, 2.7.2, is currently available. Its use is recommended. Python 2.7.1 was released on November 27th, 2010. 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. This release contains many …
Released: 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 …
...dictionary"; while in general I don't like abbreviations, "dictionary" was just too long to type, and we've been saying "dict" for years.) This is really just sugar, since there are already two other ways to name this type: type({}) and (after importing the types module) types.DictType (and a third, types.DictionaryType). But now that types play a more central role, it seems appropriate to have built-in names for the types that you're likely to encounter. Here's an example of a simp...
Released: Nov. 10, 2013
Note: Python 2.7.6 has been superseded by Python 2.7.8. Python 2.7.6 was released on November 10, 2013. This is a 2.7 series bugfix release. Most importantly, it resolves an issue that caused the interactive prompt to crash on OS X 10.9. It also includes numerous bugfixes over 2.7.5. Download …
Released: April 6, 2013
Note: A newer bugfix release, 2.7.5, is currently available. Its use is recommended over previous versions of 2.7. Python 2.7.4 was released on April 6, 2013. This is a 2.7 series bugfix release. It includes hundreds of bugfixes over 2.7.3. About the 2.7 release series Among the features and …
...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 Resources What's new in 2.7? Complete change log for this release. Online Do...
...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 [1](1, 2) The binaries for AMD64 will also work on processors that implement...
Released: May 12, 2013
Note: A newer bugfix release, 2.7.6, is currently available. Its use is recommended over previous versions of 2.7. Python 2.7.5 was released on May 15, 2013. This is a 2.7 series bugfix release. It contains several regression fixes to 2.7.4. Modules with regressions fixed include zipfile, gzip, …
Released: May 17, 2014
Note: Python 2.7.7 has been superseded by Python 2.7.8 Python 2.7.7 was released on May 31, 2014. This is a regularly scheduled 2.7 series bugfix and includes numerous bugfixes over 2.7.6. Download This is a production release. Please report any bugs you encounter. We currently support these formats for download: …
Released: June 1, 2014
If you didn't find what you need, try your search in the Python language documentation.