Field Notes
A small, source-linked blog

2026-10-13 · AI-assisted

Python 3.15 Updates: Lazy Imports, Tachyon Profiling, and Version Support Shifts

This article outlines key updates in Python 3.15, including explicit lazy imports, collection unpacking in comprehensions, a built-in sampling profiler, and the end-of-life status for Python 3.10.

According to Simon Willison's Python 3.15 overview, Python 3.15 introduces several language additions and performance diagnostics tools designed to improve startup times and code ergonomics.

Explicit Lazy Imports (PEP 810)

Python 3.15 adds explicit lazy imports via syntax like lazy import json and lazy from pathlib import Path. According to the source, this delays module importation until specific symbols are actually invoked in subsequent code.

Unpacking in Comprehensions (PEP 798)

The release extends PEP 448 unpacking syntax by supporting unpacking directly inside list, set, and dictionary comprehensions.

Built-In Sampling Profiler (Tachyon)

Python 3.15 updates the tracing profiler naming for cProfile to profiling.tracing and introduces a low-overhead built-in sampling profiler called Tachyon (profiling.sampling).

Python 3.10 End of Life and Version Support Shifts

The release of Python 3.15 officially ends support for Python 3.10.

Limitations

Sources