Python 3.12 Released With Linux Perf Integration, Performance Improvements

Written by Michael Larabel in Programming on 2 October 2023 at 12:20 PM EDT. 26 Comments
PROGRAMMING
Python 3.12 is out today as the latest major feature release for this extremely popular programming language. Python 3.12 continues the trend of recent releases of enhancing the performance while continuing to introduce exciting new functionality.

Python 3.12 brings more flexible f-string parsing, support for the buffer protocol in Python code, a wide variety of performance improvements, integration support for the Linux perf profiler, new type annotation syntax for generic classes, and various other enhancements.

On the performance front, Python 3.12 is to bring a variety of "many large and small performance improvements" with around 5% better performance overall. I'll be posting some Python 3.12 comparison benchmarks to Phoronix later today.

Python logo


Downloads and more information on Python 3.12 via Python.org.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week