[Python-ideas] Delayed Execution via Keyword

Michel Desmoulin desmoulinmichel at gmail.com
Mon Feb 20 03:30:17 EST 2017


I wrote a blog post about this, and someone asked me if it meant
allowing lazy imports to make optional imports easier.

Someting like:

lazy import foo
lazy from foo import bar

So now if I don't use the imports, the module is not loaded, which could
also significantly speed up applications starting time with a lot of
imports.


More information about the Python-ideas mailing list