Simon Willison on Python 3.15: lazy imports, comprehension unpacking, sampling profiler

charliermarsh · x · 2026-10-13

Simon Willison shares upgrade notes: dropping Python 3.10 and embracing 3.11. Python 3.15 highlights: PEP 810 explicit lazy imports (lazy import ) that fix slow CLI startups from heavy plugin deps like sentencetransformers; PEP 798 unpacking in comprehensions ([L for L in lists]) for flattening lists/sets/dicts; and a new sampling profiler.

Original post →

More from coding & agent

coding & agent channel →