Python 3.11 Released: Major Speedups and Exception Groups
Python 3.11 delivered significant interpreter speedups, exception groups with except*, and fine-grained error locations in tracebacks.
Historical Archive. This article documents an event from 2022 and is preserved with its original date for reference. It is not current news, and details may have changed since publication.
Python 3.11 was released on October 24, 2022, and its headline story was speed. It was the first release to include substantial results from the Faster CPython project, alongside genuinely useful new language features for handling errors.
Significant speedups
Python 3.11 delivered meaningful interpreter performance improvements over 3.10, thanks to work from the Faster CPython initiative. The exact improvement depends heavily on the workload, and the project's own guidance is that real-world results vary, but the release marked the point where Python's renewed focus on performance began paying off visibly. For CPU-bound Python code, moving to 3.11 often meant a free speed boost with no code changes.
Exception groups and except*
The release introduced exception groups, a way to raise and handle multiple unrelated exceptions together, along with new except* syntax to match subsets of them. This is particularly valuable for concurrent code, where several tasks might fail independently and a caller needs to handle each failure appropriately rather than seeing only the first.
Fine-grained error locations
Python 3.11 also improved tracebacks with fine-grained error locations, pointing not just to the line where an error occurred but to the specific expression within it. When a complex line fails, this makes it much faster to see exactly which part caused the problem, reducing debugging time.
Why it mattered
Python 3.11 combined a rare across-the-board speed improvement with practical features for real applications. For many teams it was an easy upgrade to justify: faster execution and better debugging with minimal migration effort.
Support timeline
According to python.org, Python 3.11 first released on October 24, 2022 and follows the standard cycle through bug-fix and security phases toward end of life around October 2027.
Related on Skillo
See also: Python 3.12's performance and error-message improvements.
Sources
Published date reflects the original event date (2022-10-24). This article is original Skillo editorial written from the sources above; facts were verified in September 2026.
Written by
Skillo Staff
0 Comments
Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.