Hello Python 3.15, goodbye 3.10, and now I can use 3.11
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Python 3.15's lazy imports can cut CLI startup time caused by heavy dependencies, and dropping 3.10 lets maintainers use 3.11 features like TaskGroup and tomllib.
Python has released version 3.15, its newest edition of the popular programming language. Its standout addition is 'lazy imports,' which delays loading bulky add-on libraries until they are actually needed, making tools start faster. It also adds a built-in profiler, a diagnostic tool that watches a running program and reports where it spends time. Because the newest release retires the oldest supported one, software maintainers can now rely on conveniences added in version 3.11.
Python 3.15 ships with explicit lazy imports (PEP 810), letting projects like Simon Willison's LLM CLI avoid multi-second startup penalties from heavy dependencies like sentence_transformers. A new sampling profiler, Tachyon, is now in the standard library. Performance is largely unchanged from 3.14, though the experimental JIT delivered its first meaningful 1.2x speedup in Miguel Grinberg's tests. Teams supporting all supported versions can now drop Python 3.10, released 2021, and use 3.11 features.
Python 3.15 adds PEP 810 explicit lazy imports (`lazy import json`), deferring module loading to first use, useful for plugin systems where installing heavy packages like sentence_transformers previously slowed the llm CLI's startup. PEP 798 enables unpacking in comprehensions: `[*L for L in lists]`. cProfile is renamed profiling.tracing, joined by the Tachyon sampling profiler (profiling.sampling), attachable via PID and exporting flame graphs. Miguel Grinberg found 3.15 roughly equal to 3.14, with the JIT giving 1.2x on a Fibonacci test. With 3.10 EOL, sqlite3 adds setlimit/getlimit, create_window_function, blobopen, and set_authorizer(None).
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Python 3.15 Python 3.11 Python 3.10 PEP 810 PEP 798 Tachyon Datasette uv
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Introducing Olmicro: Small, efficient hybrid models built in the open
Researchers and developers can now experiment with small, long-context language models on modest hardware, accelerating research and reducing compute costs.
Granite Docling V2: Compact Vision-Language Models for End-to-End Document Conversion
Compact vision-language models now let enterprises convert complex documents to structured formats in a single pass, saving engineering time and reducing errors in downstream search and analytics.
Amazon launches AI office apps to challenge Microsoft and Google
Amazon’s new AI-first office suite could shift enterprise productivity tools, forcing Microsoft and Google to rethink collaboration features.
Edge AI in wonderland
Edge AI lets devices stay intelligent offline, enabling real-time translation and voice synthesis on phones and embedded boards without cloud dependence.
Self-hosted email, calendar, booking, and Drive on Cloudflare or Docker
Self-hosted email, calendar, booking and file storage can cut monthly costs from hundreds to a few dollars, freeing budgets for other business needs.