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.
...imports the os module, an attacker could invoke the os.system() function.</p> <p>But the attack is not limited to registered object modules; for example, the code in the Python cookbook recipe at <a href="http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/165375" >http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/165375</a> is vulnerable to an attack using im_func.func_globals.update which allows reading or modifying the global variable accessList. &l...
...important information about IDLE, Tkinter, and Tcl/Tk on Mac OS X here.
Sponsor the PSF sponsor sponsorship The Python Software Foundation Sponsorship Program The PSF offers an all-in-one sponsorship program: all PSF sponsorships support the full scope of the PSF’s work, including PyCon US as well as PyPI (Python Package Index), CPython, and more. PSF sponsors receive an array of benefits that include a broad selection of promotional opportunities during PyCon US and also year-round. Join us as a sponsor to help make a difference and stand out in the Python ...
...important milestones: driving down the PR backlog, completing the migration of bugs.python.org to GitHub, and more. Welcome, Deb! Executive Director Deb Nicholson took the helm of the PSF, bringing with her a wealth of experience in Open Source and Python communities and nonprofit leadership. Investing in infrastructure - We doubled the size of our infrastructure team this year with the hire of Chloe Gerhardson as Infrastructure Engineer, joining Director of Infrastructure Ee Durbin. Their wo...
...import statement to look for importable Python modules (with .py, pyc and .pyo extensions) and packages inside the zipfile. The zipfile import follows the specification (though not the sample implementation) of PEP 273. The semantics of __path__ are compatible with those that have been implemented in Jython since Jython 2.1. PEP 302 has been accepted. Although it was initially developed to support zipimport, it offers a new, general import hook mechanism. Several new variables have been adde...
Version: None
Released: May 26, 2025
Here's the second 3.14 beta. https://www.python.org/downloads/release/python-3140b2/ This is a beta preview of Python 3.14 Python 3.14 is still in development. This release, 3.14.0b2, is the first of four planned beta releases. Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes …
View Release Notes
...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 function g() now refe...
...important; } #pie-chart-wrap polyline { stroke: #e2e8ec; stroke-width: 2px; fill: none; } #pie-chart-wrap text { color: #666; font-size: 15px; line-height: 1; font-weight: 700; stroke: none; fill: #666; } @media (max-width: 1023px) { #pie-chart-wrap text { font-size: 13px; } } #pie-chart-wrap .pointer { stroke: #e2e8ec; fill: none; stroke-width: 2px; } #pie-chart-wrap .labels { } #pie-chart-wrap .labels .text-val { font-si...
Released: Sept. 13, 2015
Python 3.5.0 Python 3.5 has reached end-of-life. Python 3.5.10, the final release of the 3.5 series, is available here. Python 3.5.0 was released on September 13th, 2015. Major new features of the 3.5 series, compared to 3.4 Among the new major new features and changes in the 3.5 release series …
Released: June 27, 2016
Python 3.5.2 Python 3.5 has reached end-of-life. Python 3.5.10, the final release of the 3.5 series, is available here. Python 3.5.2 was released on June 26th, 2016. Major new features of the 3.5 series, compared to 3.4 Among the new major new features and changes in the 3.5 release series …
Released: Jan. 3, 2017
Python 3.5.3 release candidate 1 Python 3.5 has reached end-of-life. Python 3.5.10, the final release of the 3.5 series, is available here. Python 3.5.3 release candidate 1 was released on January 2nd, 2017. Major new features of the 3.5 series, compared to 3.4 Among the new major new features and …
Released: Jan. 17, 2017
Python 3.5.3 Python 3.5 has reached end-of-life. Python 3.5.10, the final release of the 3.5 series, is available here. Python 3.5.3 was released on January 17th, 2017. Major new features of the 3.5 series, compared to 3.4 Among the new major new features and changes in the 3.5 release series …
Released: Dec. 11, 2018
Python 3.7.2rc1 is the release candidate preview of the second maintenance release of Python 3.7. The Python 3.7 series is the newest major release of the Python language and contains many new features and optimizations. Among the major new features in Python 3.7 are: PEP 539, new C API …
Released: March 12, 2019
Python 3.7.3rc1 is the release candidate preview of the third maintenance release of Python 3.7. The Python 3.7 series is the newest major release of the Python language and contains many new features and optimizations. Among the major new features in Python 3.7 are: PEP 539, new C API …
Released: March 18, 2019
Python 3.4 has reached end-of-life. Python 3.4.10 is the final release of 3.4. Python 3.4.10 was released on March 18th, 2019. Python 3.4.10 is the final release in the Python 3.4 series. As of this release, the 3.4 branch has been retired, no further changes to 3.4 will be accepted, …
Released: Dec. 10, 2019
This is the release candidate of Python 3.8.1, the first maintenance release of Python 3.8 Note: The release you're looking at is Python 3.8.1rc1, 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 …
Released: Dec. 18, 2019
This is Python 3.8.1, the first maintenance release of Python 3.8 Note: The release you're looking at is Python 3.8.1, 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. Major new …
Released: Feb. 24, 2020
This is the second maintenance release of Python 3.8 Note: The release you're looking at is Python 3.8.2, 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. Major new features of …
If you didn't find what you need, try your search in the Python language documentation.