Notice: This page displays a fallback because interactive scripts did not run. Possible causes include disabled JavaScript or failure to load scripts or stylesheets.
...modules are disabled. <p><li>There are some additional restrictions on __class__ assignments. <p><li>__delitem__ for WeakKeyDictionary has been improved and fixed, but may change visible behavior. </ul> See the <a href="../NEWS.txt">NEWS file</a> for more detail. <h3>Incompatibilities between Python 2.1[.x] and Python 2.2[.x]</h3> <p>The following visible differences between Python 2.2 and previous versions are intentional. ...
...modules are required for the parser, to simplify installation of a generated parser. If C modules are required, then parsers whose C modules are independent from the input language rank better than parsers which generate C code dependent on the input language. If a parser generator uses a generic C module, than this module might get included in the Python core one day, and thus be available for all generated parsers. A parser generator for Python should be easy to use...
Version: None
Released: Dec. 6, 2022
This is a security release of Python 3.8 Note: The release you're looking at is Python 3.8.16, a security 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. Security content …
View Release Notes
Released: Nov. 21, 2023
This is an early developer preview of Python 3.13 Major new features of the 3.13 series, compared to 3.12 Python 3.13 is still in development. This release, 3.13.0a2 is the second of seven planned alpha releases. Alpha releases are intended to make it easier to test the …
...modules May be compiled to Java byte code for use in any JVM String and regular expression processing Extensive XML and web services support HTTP, FTP, SMTP, POP, IMAP, NNTP, telnet, and other IP protocols HTML, MIME, base64, binhex, uuencode, and other internet data handling GUI development and multimedia services Unit testing, profiling, and documentation generation Restricted execution security option Available third party modules for database access, math, 3D modeling, im...
Released: Feb. 16, 2021
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 …
Released: Nov. 5, 2021
This is the eighth maintenance release of Python 3.9 Note: The release you're looking at is Python 3.9.8, 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. There's been …
Released: Nov. 15, 2021
This is the ninth maintenance release of Python 3.9 Note: The release you're looking at is Python 3.9.9, an expedited 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. 3.9.9 …
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 …
Released: Aug. 6, 2024
This is the fifth maintenance release of Python 3.12 Python 3.12 is the newest major release of the Python programming language, and it contains many new features and optimizations. 3.12.5 is the latest maintenance release, containing more than 250 bugfixes, build improvements and documentation changes since 3.12.4. This …
Released: Dec. 3, 2024
This is the eighth maintenance release of Python 3.12 Python 3.12.8 is the latest maintenance release of Python 3.12, containing more than 250 bug fixes, build improvements and documentation changes since 3.12.7. Security content in this release gh-126623: Upgraded libexpat to 2.6.4 to fix CVE-2024-50602 …
Help New to programming and to Python? Check out the Beginner's Guide. New to Python? Read the standard tutorial. Look for a suitable book from a growing list of titles. Looking for code? See the download page for links to the Python interpreter. Explore the development repository. Got a Python problem or question? First check the Python FAQs, with answers to many common, general Python questions. The Python Help category of the discuss.python.org website hosts usage questions an...
...modules and classes to include snippets of self-test code in their in-line documentation; and unittest, which supports the creation of separate test classes as recommended by Extreme Programming (XP). Unittest was previously known as PyUnit, a separate project by Steve Purcell. <p>Usability is dramatically improved by pydoc, a new documentation tool. Pydoc, created by Ka- Ping Yee, provides several ways to view the in-line documentation embedded in Python modules and classes. This flexible...
Released: Sept. 6, 2024
This is the sixth maintenance release of Python 3.12 Python 3.12 is the newest major release of the Python programming language, and it contains many new features and optimizations. 3.12.6 is the latest maintenance release, containing about 90 bugfixes, build improvements and documentation changes since 3.12.5. This is an …
Released: Oct. 1, 2024
This is the third release candidate of Python 3.13.0 This release, 3.13.0rc3, is the final release preview (no really) of 3.13. This release is expected to become the final 3.13.0 release, barring any critical bugs being discovered. The official release of 3.13.0 is now scheduled for Monday, 2024-10-07. …
This is the first maintenance release of Python 3.13 Python 3.13 is the newest major release of the Python programming language, and it contains many new features and optimizations compared to Python 3.12. 3.13.1 is the latest maintenance release, containing almost 400 bugfixes, build improvements and documentation changes since …
...modules have been developed. While this speaks to the power of Python's extension capabilities, there is significant interest in defining a commonly available GUI system for Python that would facilitate the interchange of and cooperation on tools, such as software development environments, that require or benefit from GUI interfaces. Archives
Python Patterns - An Optimization Anecdote Warning This page stays here for historical reasons and it may contain outdated or incorrect information. The other day, a friend asked me a seemingly simple question: what's the best way to convert a list of integers into a string, presuming that the integers are ASCII values. For instance, the list [97, 98, 99] should be converted to the string 'abc'. Let's assume we want to write a function to do this. The first version I came ...
If you didn't find what you need, try your search in the Python language documentation.