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.
Related event: Python 3.15 introduces lazy imports to speed up large apps(2 posts)→
More from coding & agent
- Product idea: cloud Android VMs and home WiFi proxies to make agents look human — Darpinian · 2026-11-29
- Clairvoyance dev reveals 'staff model' agent architecture: one PM, named agents, per-agent inboxes — draginol · 2026-11-29
- Claude Opus Configures Karabiner Media Keys End-to-End, No Human Hands — cantrell · 2026-11-29
- Agentic GraphRAG unifies enterprise knowledge and agent memory in one traversable graph — vm324234 · 2026-11-29
- Coding agent blocked from npm rewrote the whole package from memory — and it worked — Panther1537 · 2026-11-29
- AI agents solve 909 open math problems in 2 days on 18-year-old's Left to Solve site — julianibarz · 2026-11-29