Python releases stable version 3.12 with flexible f-string parsing and Linux perf profiler
Python has unveiled the latest stable version of its programming language, Python 3.12, packed with a host of new features and optimizations. The update introduces more flexible f-string parsing, broadening the range of previously disallowed elements. It also offers support for the Linux perf profiler to report Python function names in traces.
The release of Python 3.12 includes support for the buffer protocol in Python code, a new debugging/profiling API, and isolated subinterpreters with separate Global Interpreter Locks. The update also brings enhancements to error messages, making them more comprehensive and user-friendly.
The latest version of Python features major performance improvements, both large and small, resulting in an estimated 5% overall performance boost. It also introduces new type annotations, some deprecation, and more.
Alongside Python 3.12, the Python team has also rolled out Python 3.11.6, the sixth maintenance release of Python 3.11. This version comes with a variety of new features and changes, further expanding the capabilities of the programming language.
