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 2.3 Python 2.3 Note: See Python 2.3.5 for a patch release release which supersedes earlier releases of 2.3. Important: This release is vulnerable to the problem described in security advisory PSF-2006-001 "Buffer overrun in repr() of unicode strings in wide unicode builds (UCS-4)". This fix is included in Python 2.4.4 and Python 2.5. If you need to remain with Python 2.3, there's a patch available from the security advisory page. Important: 2.3....
...repr() of unicode strings in wide unicode builds (UCS-4)". This fix is included in Python 2.4.4 and Python 2.5. If you need to remain with Python 2.3, there's a patch available from the security advisory page. Important: 2.3.5 includes a security fix for SimpleXMLRPCServer.py. We are pleased to announce the release of Python 2.3.1 on September 23, 2003. This is a bug-fix release for Python 2.3 and supersedes the original Python 2.3 release. No new features have b...
...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 this release. Online Documentation Report bugs at http://bugs.python.org. Help fund Python and its community. Download This is a production release. Please report any bugs you encounte...
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
Released: Feb. 16, 2021
This is the release candidate of the eight maintenance release of Python 3.8 Note: The release you're looking at is Python 3.8.8rc1, a bugfix release for the legacy 3.8 series. Python 3.11 is now the latest feature release series of Python 3. Get the latest release of 3.11.x here. …
This is the release candidate of the second maintenance release of Python 3.9 Note: The release you're looking at is Python 3.9.2rc1, a release candidate of a bugfix release for the legacy 3.9 series. Python 3.11 is now the latest feature release series of Python 3. Get the latest release …
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: Feb. 19, 2021
This is the eight maintenance release of Python 3.8 Note: The release you're looking at is Python 3.8.8, a bugfix release for the legacy 3.8 series. Python 3.11 is now the latest feature release series of Python 3. Get the latest release of 3.11.x here. 3.8.8 introduces two security …
This is the second maintenance release of Python 3.9 Note: The release you're looking at is Python 3.9.2, a bugfix release for the legacy 3.9 series. Python 3.11 is now the latest feature release series of Python 3. Get the latest release of 3.11.x here. We've made 166 commits …
...represent Booleans results, this would stand out much more clearly as something completely different. Specification The following Python code specifies most of the properties of the new type: class bool(int): def __new__(cls, val=0): # This constructor always returns an existing instance if val: return True else: return False def __repr__(self): if self: return "True" else: return "False" __...
...repr__(self): return "%s(*%s)" % (self.__class__.__name__, repr(self.args)) No restriction is placed upon what may be passed in for args for backwards-compatibility reasons. In practice, though, only a single string argument should be used. This keeps the string representation of the exception to be a useful message about the exception that is human-readable; this is why the __str__ method special-cases on length-1 args value. Including programmatic information (e.g., an error code n...
Python 2.2 Python 2.2 Note: See Python 2.2.3 for a patch release which supersedes 2.2. Important: This release is vulnerable to the problem described in security advisory PSF-2006-001 "Buffer overrun in repr() of unicode strings in wide unicode builds (UCS-4)". This fix is included in Python 2.4.4 and Python 2.5. If you need to remain with Python 2.2, there's a patch available from the security advisory page. We are extremely pleased to announce the relea...
...repr() of unicode strings in wide unicode builds (UCS-4)". This fix is included in Python 2.4.4 and Python 2.5. If you need to remain with Python 2.3, there's a patch available from the security advisory page. Important: 2.3.5 includes a security fix for SimpleXMLRPCServer.py. We're happy to announce the release of Python 2.3.2 (final) on October 3rd, 2003. This is a bug-fix release for Python 2.3.1 that fixes a couple of build errors and a couple of packaging erro...
...repr() of unicode strings in wide unicode builds (UCS-4)". This fix is included in Python 2.4.4 and Python 2.5. If you need to remain with Python 2.3, there's a patch available from the security advisory page. Important: 2.3.5 includes a security fix for SimpleXMLRPCServer.py. We're happy to announce the release of Python 2.3.3 (final) on December 19th, 2003. This is a bug-fix release for Python 2.3 that fixes a number of bugs, including a couple of serious errors w...
...repr() of unicode strings in wide unicode builds (UCS-4)". This fix is included in Python 2.4.4 and Python 2.5. If you need to remain with Python 2.3, there's a patch available from the security advisory page. Important: 2.3.5 includes a security fix for SimpleXMLRPCServer.py. We're happy to announce the release of Python 2.3.4 (final) on May 27th, 2004. This is a bug-fix release for Python 2.3 that fixes a number of bugs, including a couple of weakref bugs and a bu...
...repr(x). In particular, these behaviors will be dropped: x[i:j] (slicing) x*n, n*x (sequence-repeat) cmp(x1, x2) (comparisons) i in x (containment test) x.tolist() method x.start, x.stop, x.step attributes I also propose to change the signature of the PyRange_New() C API to remove the 4th argument (the repetition count). By implementing a custom iterator type, we could speed up the common use, but this is optional (the default sequence iterator does just fine). Scope This PEP affects the xra...
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 …
...repr implementations rather than their native formatting support: def reprformat(template): def render_field(value, specifier): return format(repr(value), specifier) return template.render(render_field=render_field) When writing custom renderers, note that the return type of the overall rendering operation is determined by the return type of the passed in render_template callable. While this is expected to be a string in most cases, producing non-string objects is permitted. Fo...
...repr() of unicode strings in wide unicode builds (UCS-4)". This fix is included in Python 2.4.4 and Python 2.5. If you need to remain with Python 2.3, there's a patch available from the security advisory page. Python 2.3.5 supersedes the previous Python 2.3.4 release. No new features have been added in Python 2.3.5 -- the 2.3 series is in bugfix-only mode. 2.3.5 contains an important security fix for SimpleXMLRPCServer - see the advisory (PSF-2005-001) for more....