← Today's brief

Developers · Updated 12 Oct, 11:45 pm IST

Python 3.15 released with explicit lazy imports and new unpacking syntax

Image: Simon Willison

Why it matters for readers: These features change how Python code can be written and may make some programs start faster and look cleaner.

  • Python 3.15 adds explicit lazy imports via the new 'lazy import' syntax from PEP 810.1
  • Unpacking inside comprehensions is supported, illustrated by new [*sublist for sublist in lists] and similar constructs from PEP 798.1
  • The author notes that dropping support for Python 3.10 lets them start using features from newer versions such as 3.11 and 3.15.1
  • Explicit lazy imports are expected to reduce startup cost for CLI tools and plugin systems that otherwise import heavy dependencies like sentence_transformers.1

Get a brief like this every morning

Uzha reads hundreds of sources and gives you the stories that matter for your work, with every source linked. Free.

Get started