Python 3.15.0 beta 2 has been released, the second of four planned beta releases before the final version. Key features in Python 3.15 include explicit lazy imports (PEP 810) for faster startup, a new frozendict built-in type, a sentinel built-in type, a dedicated profiling package with a high-frequency statistical sampling profiler (Tachyon), frame pointers enabled by default, unpacking in comprehensions, UTF-8 as the default encoding, and several type system improvements (TypedDict with typed extra items, TypeForm, disjoint bases). The JIT compiler has been significantly upgraded with 8-9% performance improvement on x86-64 Linux and 12-13% speedup on AArch64 macOS. The release is not recommended for production; the next beta (3.15.0b3) is scheduled for 2026-06-23.

4m read timeFrom blog.python.org
Post cover image
Table of contents
Major new features of the 3.15 series, compared to 3.14Removals and new deprecationsMore resourcesAnd now for something completely differentEnjoy the new release
6.2K Impressions