Editor, Adam Turner,. This article explains the new features in Python 3.12, compared to 3.11. Python 3.12 was released on October 2, 2023. For full details, see the changelog. Summary – Release hi.
It s been one week since Python 3.11 was released — and it s "faster than ever!" So says Jay Miller, a developer on Microsoft s six-person "Faster CPython" team (which includes Python creator Guido van Rossum, and offers assistance to other core developers). Miller reports that Python 3.11 .
News from the Python Software Foundation
Saturday, May 15, 2021
The 2021 Python Language Summit: PEP 654 Exception Groups and except
PEP 654 was authored by Irit Katriel, Yury Selivanov, and Guido van Rossum. This PEP is currently at the draft stage. The authors shared what it is, why we need it, and which ideas they rejected.
What Is PEP 654?
The purpose of this PEP is to help Python users handle unrelated exceptions. Right now, if you re dealing with several unrelated exceptions, you can:
Raise one exception and throw away the others, in which case you re losing exceptions
Return a list of exceptions instead of raising them, in which case they become error codes rather than exceptions, so you can t handle them with exception-handling mechanisms