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.
...from __future__ import nested_scopes" in 2.1[.1]). This may change the meaning of code like the following: <pre> def f(<font color="red">str</font>): def g(x): return <font color="red">str</font>(x) return g System Message: WARNING/2 (<string>, line 58) Definition list ends without a blank line; unexpected unindent. </pre> In this example, the use of <font color="red">str</font> inside the inner funct...
Version: None
Released: June 6, 2023
This is a beta preview of Python 3.12 Python 3.12 is still in development. This release, 3.12.0b2 is the second of four beta release previews of 3.12. Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their …
Released: Dec. 2, 2025
This is the first maintenance release of Python 3.14 Python 3.14.1 is the first maintenance release of 3.14, containing around 558 bugfixes, build improvements and documentation changes since 3.14.0. Major new features of the 3.14 series, compared to 3.13 Some of the major new features and changes in Python 3.14 …
View Release Notes
...from __future__ import nested_scopes" in 2.1[.1]). This may change the meaning of code like the following: <pre> def f(<font color="red">str</font>): def g(x): return <font color="red">str</font>(x) return g System Message: WARNING/2 (<string>, line 84) Definition list ends without a blank line; unexpected unindent. </pre> In this example, the use of <font color="red">str</font> inside the inner funct...
Released: Dec. 5, 2025
This is the second maintenance release of Python 3.14 Python 3.14.2 is the second maintenance release of 3.14, containing 18 bugfixes, build improvements and documentation changes since 3.14.1. This is an expedited release to fix the following regressions: gh-142206: Exceptions in multiprocessing in running programs while upgrading Python. gh-142214 …
Released: Oct. 1, 2019
This is the release candidate of Python 3.8.0 Note: The release you're looking at is Python 3.8.0rc1, an outdated release. Python 3.9 is now the latest feature release series of Python 3. Get the latest release of 3.9.x here. Please keep in mind that this is a preview release …
Released: June 17, 2025
It's 3.14 beta 3! https://www.python.org/downloads/release/python-3140b3/ This is a beta preview of Python 3.14 Python 3.14 is still in development. This release, 3.14.0b3, is the third of four planned beta releases. Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and …
Released: Oct. 7, 2025
This is the stable release of Python 3.14.0 Python 3.14.0 is the newest major release of the Python programming language, and it contains many new features and optimisations compared to Python 3.13. Major new features of the 3.14 series, compared to 3.13 Some of the major new features and changes …
...interface The interface I have chosen to implement is that of my ripoff CD-ripping script. The main features of this interface are: straightforward, standard interface (no complicated interactions between options) a respectable number (around 17) of options -- enough that some sort of high-level command-line parsing help is really nice to have, but not so many that it would take me forever to reimplent the interface several times a fair variety of op...
...from __future__ import nested_scopes" in 2.1[.1]). This may change the meaning of code like the following: <pre> def f(<font color="red">str</font>): def g(x): return <font color="red">str</font>(x) return g System Message: WARNING/2 (<string>, line 109) Definition list ends without a blank line; unexpected unindent. </pre> In this example, the use of <font color="red">str</font> inside the inner func...
Released: July 22, 2025
It's the first 3.14 release candidate! https://www.python.org/downloads/release/python-3140rc1/ This is the first release candidate of Python 3.14 This release, 3.14.0rc1, is the penultimate release preview. Entering the release candidate phase, only reviewed code changes which are clear bug fixes are allowed between this release candidate and the final release. The …
Released: Aug. 29, 2019
This is a beta preview of Python 3.8 Python 3.8 is still in development. This release, 3.8.0b4 is the last of four planned beta release previews. Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects …
Released: Oct. 14, 2019
This is the stable release of Python 3.8.0 Note: The release you're looking at is Python 3.8.0, an outdated release. Python 3.11 is now the latest feature release series of Python 3. Get the latest release of 3.11.x here. Major new features of the 3.8 series, compared to 3.7 …
Released: April 29, 2020
This is the release candidate of the third maintenance release of Python 3.8 Note: The release you're looking at is Python 3.8.3rc1, 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. …
Released: July 20, 2020
This is the fifth maintenance release of Python 3.8 Note: The release you're looking at is Python 3.8.5, 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.5 has been released …
...ffffffff is -1, and -(0xffffffff) is 1, but -0xffffffff would come out as -4294967295. This was the case in Python 2.2 through 2.2.2 and 2.3a1, and in Python 2.4 it will once again have that value, but according to PEP 237 it really needs to be 1 now. This will be backported to Python 2.2.3 a well. (SF #660455) int(s, base) sometimes sign-folds hex and oct constants; it only does this when base is 0 and s.strip() starts with a '0'. When the sign is actually folded, as in int("0xffffffff...
...f) class BoundMethod: def __init__(self, function, instance): self.function = function self.instance = instance def __call__(self, *args): print "calling", self.function, "for", self.instance, "with", args return apply(self.function, (self.instance,) + args) Trace = Tracing('Trace', (), {}) class MyTracedClass(Trace): def method1(self, a): self.a = a def method2(self): return self.a aninstance = MyTracedClass()...
Released: July 8, 2025
It's the final 3.14 beta! https://www.python.org/downloads/release/python-3140b4/ This is a beta preview of Python 3.14 Python 3.14 is still in development. This release, 3.14.0b4, is the last of four planned beta releases. Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes …
Released: Aug. 14, 2025
It's the final 🪄 penultimate 🪄 3.14 release candidate! Note: rc2 was originally planned for 2025-08-26, but we fixed a bug that required bumping the magic number stored in Python bytecode (.pyc) files. This means .pyc files created for rc1 cannot be used for rc2, and they'll be …
Released: Sept. 18, 2025
It's 🪄 finally 🪄 the final 3.14 release candidate! Note: It's another magic release. We fixed another bug that required bumping the magic number stored in Python bytecode (.pyc) files. This means file .pyc files created for rc2 cannot be used for rc3, and they'll be recompiled. The …
If you didn't find what you need, try your search in the Python language documentation.