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.
Version: None
Released: Dec. 10, 2014
Python 2.7.9 is a bugfix version for the Python 2.7 release series. Python 2.7.9 includes 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 using the system's certificate store is …
View Release Notes
...reversed() - a new builtin that takes a sequence and returns an iterator that loops over the elements of the sequence in reverse order (PEP 322) new sort() keyword arguments - sort() now accepts keyword arguments cmp, key and reverse sorted() - a new builtin sorted() acts like an in-place list.sort() but can be used in expressions, as it returns a copy of the sequence, sorted. string methods - strings gained an rsplit() method, and the string methods ljust(), rjust() and center() accept an argu...
Released: Feb. 6, 2024
This is the eighth maintenance release of Python 3.11 Python 3.11.8 is the newest major release of the Python programming language, and it contains many new features and optimizations. Major new features of the 3.11 series, compared to 3.10 Some of the new major new features and changes in Python …
Released: Sept. 12, 2022
This is the second release candidate of Python 3.11 This release, 3.11.0rc2, is the last preview before the final release of Python 3.11.0 on 2022-10-24. Entering the release candidate phase, only reviewed code changes which are clear bug fixes are allowed between this release candidate and the final release. …
Released: Dec. 23, 2008
This is the last bugfix release of Python 2.5. Future releases of Python 2.5 will only contain security patches; no new features are being added, and no "regular" bugs will be fixed anymore. According …
Python 2.5.4 Release Python 2.5.4 We are pleased to announce the release of Python 2.5.4 (final), a bugfix release of Python 2.5, on December 23rd, 2008. Python 2.5.4 has been replaced by a newer bugfix release of Python. Please download Python 2.5.6 instead, unless you need to use the Windows and OS X binaries provided here. This is the last bugfix release of Python 2.5. Future releases of Python 2.5 will only contain security patches; no new features are being added, and no "regular&...
Built-in Package Support in Python 1.5 Built-in Package Support in Python 1.5 Starting with Python version 1.5a4, package support is built into the Python interpreter. This implements a slightly simplified and modified version of the package import semantics pioneered by the "ni" module. "Package import" is a method to structure Python's module namespace by using "dotted module names". For example, the module name A.B designates a submodule named B in a package named A. Just like...
...reversed() builtin function that returns a reverse iterator over a sequence. Added a sorted() builtin function that returns a new sorted list from any iterable. CObjects are now mutable (on the C level) through PyCObject_SetVoidPtr. list.sort() now supports three keyword arguments: cmp, key, and reverse. The key argument can be a function of one argument that extracts a comparison key from the original record: mylist.sort(key=str.lower). The reverse argument is a boolean value and if True will...
Python Patterns - An Optimization Anecdote Warning This page stays here for historical reasons and it may contain outdated or incorrect information. The other day, a friend asked me a seemingly simple question: what's the best way to convert a list of integers into a string, presuming that the integers are ASCII values. For instance, the list [97, 98, 99] should be converted to the string 'abc'. Let's assume we want to write a function to do this. The first version I came ...
What's new in Python 2.3 What's new in Python 2.3 Here are the (subjective) highlights of what's new in Python 2.3. Faster According to a couple of simple benchmark, Python 2.3 is about 20-30% faster than Python 2.2.3. Some of this speed-up was obtained by removing the SET_LINENO opcodes, which means that the difference is less impressive when comparing "python -O"; the rest was various careful tune-ups. New Tools A brand new version of IDLE (from the IDLEfork project at S...
Unifying types and classes in Python 2.2 Unifying types and classes in Python 2.2 Python Version: 2.2 (For a newer version of this tutorial, see Python 2.2.3) Guido van Rossum This paper is an incomplete draft. I am soliciting feedback. If you find any problems, please write me at guido@python.org. Table of Contents Introduction Subclassing built-in types Built-in types as factory functions Introspecting instances of built-in types Static methods and class met...
Unifying types and classes in Python 2.2 Unifying types and classes in Python 2.2 Python Version: 2.2.1 (For a newer version of this tutorial, see Python 2.2.3) Guido van Rossum This paper is an incomplete draft. I am soliciting feedback. If you find any problems, please write me at guido@python.org. Table of Contents Change Log Introduction Subclassing built-in types Built-in types as factory functions Introspecting instances of built-in types Static metho...
Unifying types and classes in Python 2.2 Unifying types and classes in Python 2.2 Python Version: 2.2.2 (For a newer version of this tutorial, see Python 2.2.3) Guido van Rossum This paper is an incomplete draft. I am soliciting feedback. If you find any problems, please write me at guido@python.org. Table of Contents Change Log Introduction Subclassing built-in types Built-in types as factory functions Introspecting instances of built-in types Static metho...
Unifying types and classes in Python 2.2 Python Version: 2.2.3 Guido van Rossum This paper is an incomplete draft. I am soliciting feedback. If you find any problems, please write me at guido@python.org. Table of Contents Change Log Introduction Subclassing built-in types Built-in types as factory functions Introspecting instances of built-in types Static methods and class methods Properties: attributes defined by get/set methods Method resolution ord...
...reversed this process. Not that it took me very long to learn the feature set. I wrote a working, usable fetchmailconf, with GUI, in six working days, of which perhaps the equivalent of two days were spent learning Python itself. This reflects another useful property of the language: it is compact -- you can hold its entire feature set (and at least a concept index of its libraries) in your head. C is a famously compact language. Perl is notoriously not; one of the things the notion "There'...
...reversed=<bool>" optional argument seems utterly application-specific. I would like to reject this because it doesn't solve a general enough problem in a general enough way, it just clutters the dictionary API. I'd rather add dict.popitem(key). PEP 266 - Optimizing Global Variable/Attribute Access Montanaro PEP 267 - Optimized Access to Module Namespaces - Hylton PEP 280 - Optimizing access to globals - van Rossum These three should be considered together; at most one of them...
...reversed iterator now supports __length_hint__ instead of __len__. Behavior now matches other reversed iterators. Issue #4367: Python would segfault during compiling when the unicodedata module couldn't be imported and N escapes were present. Fix build failure of _cursesmodule.c building with -D_FORTIFY_SOURCE=2. Library Issue #4387: binascii now refuses to accept str as binary input. Issue #4073: Add 2to3 support to build_scripts, refactor that support in build_py. IDLE would print a "...
Python 2.6.8 license History and License¶ History of the software¶ Python was created in the early 1990s by Guido van Rossum at Stichting Mathematisch Centrum (CWI, see http://www.cwi.nl/) in the Netherlands as a successor of a language called ABC. Guido remains Python’s principal author, although it includes many contributions from others. In 1995, Guido continued his work on Python at the Corporation for National Research Initiatives (CNRI, see http://www.cnri.reston.va.us/) ...
Python 2.6.9 license History and License¶ History of the software¶ Python was created in the early 1990s by Guido van Rossum at Stichting Mathematisch Centrum (CWI, see http://www.cwi.nl/) in the Netherlands as a successor of a language called ABC. Guido remains Python’s principal author, although it includes many contributions from others. In 1995, Guido continued his work on Python at the Corporation for National Research Initiatives (CNRI, see http://www.cnri.reston.va.us/)...
If you didn't find what you need, try your search in the Python language documentation.