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.
More from coding & agent
- Meta launches Muse Wonder, its largest frontier model built for agents — ZeroStateReflex · 2026-10-13
- HeyGen launches Lessons: turn class notes into videos via MCP — HeyGen · 2026-10-13
- PageIndex SDK v0.4 claims tree indexing now cheaper than vector indexing by ~15% — solyarisoftware · 2026-10-13
- Economist: agentic coding lets you write your own Fortran optimizers, not just ask for Stata packages — Apoorva__Lal · 2026-10-13
- Tencent open-sources Agent Memory: local long-term memory, 61% fewer tokens, 48%→76% accuracy — solyarisoftware · 2026-10-13
- Testing AI agents with simulations: replay real traces, 50 curated sims beat 1000 random ones — HamelHusain · 2026-10-13