Adopting Python 3.15's lazy imports: a 4× faster CLI, and where they didn't help
Summary
The article discusses adopting Python 3.15's lazy imports to speed up startup times across CLI, TUI, and MCP server interfaces. It covers measurement results (CLI --help dropping from ~2.23s to ~0.47s), the gating approach using Lifeguard to ensure safe deferral, and considerations where deferral isn't safe, plus related tooling and profiling techniques.