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.
...operators to the operator module: operator.pow(a,b) which is equivalent to: a**b. operator.is_(a,b) which is equivalent to: a is b. operator.is_not(a,b) which is equivalent to: a is not b. posix.openpty now works on all systems that have /dev/ptmx. A module zipimport exists to support importing code from zip archives. The new datetime module supplies classes for manipulating dates and times. The basic design came from the Zope "fishbowl process", and favors practical commercia...
...operator.add, seq, start)". (New in 2.3b1.) enumerate() - an iterator taking a sequence returning tuples of (index, item). This solves the old "for i in range(len(seq))" problem more elegantly. (PEP 279) basestring - an abstract string type which is the base class for str (8-bit strings) and unicode. Primarily used to simplify tests for string-ness to isinstance(x, basestring). bool, True, False - these were introduced as ints in Python 2.2.1, but are now a separate type (a su...
2011-01-24 PSF Board Meeting Minutes The Python Software Foundation Minutes of a Regular Meeting of the Board of Directors January 24, 2011 A regular meeting of the Python Software Foundation ("PSF") Board of Directors was held over Internet Relay Chat beginning at 16:00 UTC, 24 January 2011. Steve Holden presided at the meeting. Pat Campbell prepared the minutes. All votes are reported in the form "Y-N-A" (in favor — opposed — abstentions; e.g. "5-1-2" mea...
Version: None
Released: April 6, 2013
Note: A newer security-fix release, 3.2.6, is currently available. Its use is recommended. Python 3.2.4 was released on April 7th, 2013. This is the final 3.2 series bugfix release. New features of the 3.2 series, compared to 3.1 Python 3.2 is a continuation of the efforts to improve and …
View Release Notes
Support the PSF with a Donation or by becoming a Supporting Member! Donate What does the Python Software Foundation do? The Python Software Foundation: Awards grants and provides resources for furthering the development and adoption of Python. Organizes and hosts the annual PyCon US conference. 2019 brought together 3,393 attendees from 55 countries, a new record for PyCon US! Our sponsors’ support enabled us to award $137,200 USD to ...
...==-. { } __ .' O o '. / -<' ) { } .' O'. / o .-. O \ / .--v` { } / .-. o\ /O / \ o\ /O / \ `-` / \ O`-'o / \ O`-`o / jgs `-.-` '.____.' `.____.' The C3 Method Resolution Order Let me introduce a few simple notations which will be useful for the following discussion. I will use the shortcut notation C1 C2 ... CN to indicate the list of classes [C1, C2, ... , CN]. The head of the list is its first element: head = C1 ...
Released: May 15, 2013
Note: A newer security-fix release, 3.2.6, is currently available. Its use is recommended. Python 3.2.5 was released on May 15th, 2013. This release fixes a few regressions found in Python 3.2.4, and is planned to be the final 3.2 series bugfix release. New features of the 3.2 series, compared …
Released: July 9, 2011
Note: A newer security-fix release, 3.2.6, is currently available. Its use is recommended. Python 3.2.1 was released on July 10th, 2011. 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 …
Released: 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 …
Released: April 10, 2012
Note: A newer security-fix release, 3.2.6, is currently available. Its use is recommended. Python 3.2.3 was released on April 10, 2012. It includes fixes for several reported security issues: issue 13703 (CVE-2012-1150, hash collision denial of service), issue 14234 (CVE-2012-0876, Expat hash collision denial of service), issue 14001 (CVE-2012-0845, …
Released: Feb. 20, 2011
Note: A newer security-fix release, 3.2.6, is currently available. Its use is recommended. Python 3.2 was released on February 20th, 2011. 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 …
Python Success Stories Introduction This is the story of Python at the Philips semiconductor manufacturing facility in Fishkill, NY. This facility, originally built by IBM, was acquired by Philips in 2000. I have been involved with this facility on and off for the past twelve years and was responsible for redesigning substantial portions of the factory tool control software using Python. In the early 1990s, the factory adopted an automation strategy based around Asyst Technology's tool loader...
Python Success Stories Introduction Consultants naturally try to provide their customers with the best solutions for a problem. Sometimes this means exploring new areas together with the customer or directing the project into a solution space that better fits the problem than the usual "buzzword-compliant" approaches. We've seen these fail too often, misleading the project into solving problems relating to the selected technology, rather than meeting the original project plan. Pyt...
Python Distutils-SIG: Design Proposal Python Distutils-SIG (Prerequisites: please read the proposed interface before trying to plough through this design document; it is very much a sequel to the interface document.) Design Proposal The Distutils' point of view setup.py only has to import one module, distutils.core. This module is responsible for parsing all command-line arguments to setup.py (even though the interpretation of options is di...
Download Python for other platforms Python has been ported to a number of specialized and/or older platforms, listed below in alphabetical order. Note that these ports often lag well behind the latest Python release. Python for AIX AIX binary packages for Python are available from IBM AIX Toolbox in RPM format. They can be installed using dnf package manager. Visit the Get Started page for more details. Python for HP-UX You can purchase ActivePython (commercial and community versions, in...
Python 3.2 Release Python 3.2 Note: A newer security-fix release, 3.2.6, is currently available. Its use is recommended. Python 3.2 was released on February 20th, 2011. 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 o...
Python 3.2.1 Release Python 3.2.1 Note: A newer security-fix release, 3.2.6, is currently available. Its use is recommended. Python 3.2.1 was released on July 10th, 2011. 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...
Python 3.2.2 Release Python 3.2.2 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 ar...
Python 3.2.3 Release Python 3.2.3 Note: A newer security-fix release, 3.2.6, is currently available. Its use is recommended. Python 3.2.3 was released on April 10, 2012. It includes fixes for several reported security issues: issue 13703 (CVE-2012-1150, hash collision denial of service), issue 14234 (CVE-2012-0876, Expat hash collision denial of service), issue 14001 (CVE-2012-0845, SimpleXMLRPCServer denial of service), and issue 13885 (CVE-2011-3389, disabling of the CBC IV attack counter...
If you didn't find what you need, try your search in the Python language documentation.