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 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...
Python 3.2.4 Release Python 3.2.4 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 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...
Python 3.2.5 Release Python 3.2.5 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 to 3.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 recei...
Version: None
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 …
View Release Notes
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 …
...concurrency. The need for thread-specific state was solved by threading.local() and its C-API equivalent, PyThreadState_GetDict(). A few examples of where Thread-local storage (TLS) is commonly relied upon: Context managers like decimal contexts, numpy.errstate, and warnings.catch_warnings. Request-related data, such as security tokens and request data in web applications, language context for gettext etc. Profiling, tracing, and logging in large code bases. Unfortunately, TLS does not work w...
PEP 6 -- Bug Fix Releases PEP:6 Title:Bug Fix Releases Author:aahz at pythoncraft.com (Aahz), anthony at interlink.com.au (Anthony Baxter) Status:Active Type:Process Created:15-Mar-2001 Post-History:15-Mar-2001, 18-Apr-2001, 19-Aug-2004 Contents Abstract Motivation Prohibitions Not-Quite-Prohibitions Applicability of Prohibitions Helping the Bug Fix Releases Happen Version Numbers Procedure Patch Czar History History References Copyright Abstract Python has historically had ...
PEP 567 -- Context Variables PEP:567 Title:Context Variables Author:Yury Selivanov <yury at edgedb.com> Status:Final Type:Standards Track Created:12-Dec-2017 Python-Version:3.7 Post-History:12-Dec-2017, 28-Dec-2017, 16-Jan-2018 Contents Abstract API Design and Implementation Revisions Rationale Introduction Specification contextvars.ContextVar contextvars.Token contextvars.Context asyncio Implementation Summary of the New APIs Python API C API Rejected Ideas Replicat...
...concurrency provide APIs to invoke multiple tasks and return their results in aggregate. There isn't currently a good way for such libraries to handle situations where multiple tasks raise exceptions. The Python standard library's asyncio.gather() [1] function provides two options: raise the first exception, or return the exceptions in the results list. The Trio [2] library has a MultiError exception type which it raises to report a collection of errors. Work on this PEP was initially motivated...
PEP 353 -- Using ssize_t as the index type PEP:353 Title:Using ssize_t as the index type Author:Martin von Löwis <martin at v.loewis.de> Status:Final Type:Standards Track Created:18-Dec-2005 Post-History: Contents Abstract Rationale Specification Conversion guidelines Discussion Why not size_t Why not Py_intptr_t Doesn't this break much code? Doesn't this consume too much memory? Open Issues Copyright Abstract In Python 2.4, indices of sequences are restricted to the...
Python Success Stories Introduction Wing IDE is a commercial integrated development environment for the Python programming language. Wing provides developers with a full-featured source editor, debugger, code browser, and many other tools specifically designed for use with Python. Wing works with all forms of Python, whether running as a stand-alone app, under a web server, or in a custom embedded scripting environment. Several GUI layers (wxPython, PyQt, PyGTK, and Tkinter) are supported, as...
PEP 319 -- Python Synchronize/Asynchronize Block PEP:319 Title:Python Synchronize/Asynchronize Block Author:Michel Pelletier <michel at users.sourceforge.net> Status:Rejected Type:Standards Track Created:24-Feb-2003 Python-Version:2.4? Post-History: Contents Abstract Pronouncement Synchronization Targets Other Patterns that Synchronize Formal Syntax Proposed Implementation Backward Compatibility PEP 310 Reliable Acquisition/Release Pairs How Java Does It How Jython Does ...
...concurrency models. PEP 554 discusses this in more detail. Indirect Benefits Most of the effort needed for a per-interpreter GIL has benefits that make those tasks worth doing anyway: makes multiple-interpreter behavior more reliable has led to fixes for long-standing runtime bugs that otherwise hadn't been prioritized has been exposing (and inspiring fixes for) previously unknown runtime bugs has driven cleaner runtime initialization (PEP 432, PEP 587) has driven cleaner and more complete ru...
...concurrency issues. The iterator created by the above generator should do the magic necessary to maintain state, yet pass the exception through to a lower-level async framework. Here is an example of what the corresponding iterator would look like if coded up as a class: class ListAlbums: def __init__(self, cursor): self.cursor = cursor def __iter__(self): self.cursor.execute("SELECT title, artist FROM album") self._iter = iter(self._cursor) self._next...
...concurrency and make use of additional processors for long running computations on the pointer. In C/C++ extensions, the bytes object can be created from a supplied pointer and destructor function to free the memory when the reference count goes to zero. The special implementation of slicing for the bytes object allows multiple bytes objects to refer to the same pointer/destructor. As such, a refcount will be kept on the actual pointer/destructor. This refcount is separate from the refcount ty...
PEP 3118 -- Revising the buffer protocol PEP:3118 Title:Revising the buffer protocol Author:Travis Oliphant <oliphant at ee.byu.edu>, Carl Banks <pythondev at aerojockey.com> Status:Final Type:Standards Track Created:28-Aug-2006 Python-Version:3.0 Post-History: Contents Abstract Rationale Proposal Overview Specification Access flags The Py_buffer struct Releasing the buffer New C-API calls are proposed Additions to the struct string-syntax Examples of Data-Format...