
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.
Downloads and more information on Python 3.12 via Python.org .