Post
Rodrigo Girão Serrão 🐍🚀
mathspp.com
did:plc:4642ovs4svxe3k3echdm4rks
Python startup times just got faster.
In 3.15, you can use the keyword `lazy` to make a lazy import (`math` and `Path` below).
Lazily imported modules are only loaded
WHEN they're used, and
IF they're used.
Use them to defer loading of modules that may not be required.
2026-10-14T13:02:41.162Z