Hello Python 3.15, goodbye 3.10, and now I can use 3.11
Python 3.15 has arrived, and developers can say farewell to Python 3.10 while embracing the latest features from Python 3.11. Release manager Hugo van Kemenade highlights the new Explicit lazy imports from PEP 810, which allow modules to be imported only when needed. This addresses startup costs for plugins with heavy dependencies like sentence_transformers.
The new sublist unpacking syntax, [sublist for sublist in lists], is also introduced, as well as an improved standard library tracing profiler renamed from cProfile to profiling.tracing. The sampling profiler Tachyon, or profiling.sampling, provides low overhead insights into running systems. Miguel Grinberg's testing of Python 3.15 shows mostly similar performance to 3.14, with a 1.2x boost for its experimental JIT in certain tests.
With Python 3.15 now available, Python 3.10 is officially unsupported, allowing developers to drop the older version and start using new features like tomllib, TaskGroup, and timeout().
Written by urgent.news from Simon Willison's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.
This story
This is one outlet's version. Read the fullest account.
- Hello Python 3.15, goodbye 3.10, and now I can use 3.11 simonwillison.net