Python 3.14 Beta 1 is now available in working toward this next major Python release due out in early October.
Most notable coming with Python 3.14 albeit in experimental form is the new tail-call interpreter with better performance. The Python 3.14 documentation describes the new interpreter as:
“A new type of interpreter has been added to CPython. It uses tail calls between small C functions that implement individual Python opcodes, rather than one large C case statement. For certain newer compilers, this interpreter provides significantly better performance. Preliminary numbers on our machines suggest anywhere up to 30% faster Python code, and a geometric mean of 3-5% faster on pyperformance depending on platform and architecture. The baseline is Python 3.14 built with Clang 19 without this new interpreter.
This interpreter currently only works with Clang 19 and newer on x86-64 and AArch64 architectures. However, we expect that a future release of GCC will support this as well.
This feature is opt-in for now. We highly recommend enabling profile-guided optimization with the new interpreter as it is the only configuration we have tested and can validate its improved performance. For further information on how to build Python, see –with-tail-call-interp.”
Python 3.14 is also now deferring the evaluation of type annotations, support for template string literals “T-Strings” for custom string processing, a new Zstandard compression algorithm module, a zero-overhead external debugger interface for CPython, an improved C API for configuring Python, error message improvements, built-in HMAC implementation, and a variety of other changes.
Downloads and more information on today’s Python 3.14 Beta 1 release via the Python Insider Blog.
At least three more beta releases of Python 3.14 are expected through July before getting to two release candidates and hopefully shipping Python 3.14 final in early October.