Python 3.14

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Python 3.14's stable release means Python developers can now use t-strings, deferred annotations and subinterpreters, while Python 3.9 support ends for library maintainers.

Read this as

Python 3.14, the yearly major update to the world's most popular programming language, has hit its first stable release. Its headline changes include template strings, postponed evaluation of type notes, and 'subinterpreters', a way to run several isolated Python engines inside one program to use multiple CPU cores. A free-threaded build, which removes the traditional bottleneck limiting code to one core at a time, is now officially supported. Python 3.9 is retired from support as a result.

Python 3.14 is now stable, and adopting it removes a known constraint: the free-threaded build is officially supported, so teams can finally use all CPU cores without the GIL limiting parallelism. The trade-off is dependency compatibility, Simon Willison points to a wheel-compatibility checker for the free-threaded build. Notably, dropping Python 3.9 lets open-source libraries require 3.10 features like match/case. CI can test all five supported versions via the updated setup-python action.

Python 3.14's first stable release adds template string literals (t-strings), deferred evaluation of annotations (PEP 649-era behavior), and stdlib subinterpreters for GIL-side multi-core concurrency. Library additions include asyncio introspection improvements and a compression.zstd module for Zstandard; the REPL gains syntax highlighting. The free-threaded build is now officially supported, use python@3.14t via uv if your dependency wheels cooperate (hugovk's checker). Python 3.9 is EOL, so libraries may now depend on 3.10's match/case and int | float | None union syntax.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Python 3.14 Python 3.10 Python 3.9 GIL Zstandard GitHub Actions Datasette

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading