[$] Explicit lazy imports for Python
Date:
Mon, 20 Oct 2025 16:30:26 +0000
Description:
Importing modules in Python is ubiquitous; most Python programs start
with at least a few import statements. But the performance impact
of those imports can be largeand may be entirely wasted effort if the
symbols imported end up being unused. There are multiple ways to lazily
import modules, including one in the standard library, but none of them are part of the Python language itself. That
may soon change, if the recently proposed PEP810 ("Explicit lazy
imports") is approved.
======================================================================
Link to news story:
https://lwn.net/Articles/1041120/
--- Mystic BBS v1.12 A49 (Linux/64)
* Origin: tqwNet UK HUB @ hub.uk.erb.pw (1337:1/100)