Working to Make Python Lazy

·Hacker News··

Python 3.15a7, which is now just a uv python install 3.15 away on all major platforms, has lazy imports! This exciting feature, proposed in PEP 810, promises to make CLI applications faster (especially when using flags like --help), and could make a lot of large code with lots of imports that don’t always get used faster too. Unlike the earlier, failed attempt, this requires libraries to put in some work. I’ve developed a helper tool to make it easy; I’d like to cover what lazy imports are and h

Read full article →

Related Articles

OpenAI's GPT-6 Astra on ARC-AGI-3
vignesh_warar · Hacker News · 4h ago
Pre-Release of Polars 2.0
komape · Hacker News · 17h ago
Three sites made 215,128 “best software” pages for AI. Perplexity cites them
jakobgreenfeld · Hacker News · 1d ago
Artificial beaver dams saw juvenile coho salmon survival rates go from 8% to 60%
speckx · Hacker News · 8h ago
Paint.net 5.2 alpha now runs on Linux
judah · Hacker News · 1d ago