Python 3.15 is one of the most feature-packed Python releases in many a moon, and the first release candidate has just arrived. Lazy importsA long-asked for feature, lazy imports allow imports to be processed only when they’re actually used by the program. You can use lazy imports explicitly using the new lazy import syntax, but you can also force code with conventional imports to behave lazily, either programmatically or by using an environment variable. This makes it easy to make existing code take advantage of this feature without tons of rewriting. Best of all, there’s no drawback to making imports lazy: they otherwise behave exactly as intended.