Lazy imports for Python
Lazy imports for Python
Posted Sep 9, 2022 19:05 UTC (Fri) by smurf (subscriber, #17840)In reply to: Lazy imports for Python by azumanga
Parent article: Lazy imports for Python
The same kind of argument has been used 20 years ago when libc started to use lazy loading. The solution was a loader flag that loaded eagerly and reported when something didn't resolve. On Python, the equivalent solution might well be a dedicated import checker.
Fortunately, tools like that do exist already. :-P
Posted Sep 11, 2022 19:24 UTC (Sun)
by NYKevin (subscriber, #129325)
[Link]
Lazy imports for Python
