[Python-Dev] Python startup optimization: script vs. service

Christian Heimes christian at python.org
Mon Oct 2 14:18:35 EDT 2017


On 2017-10-02 19:29, Brett Cannon wrote:
> My current design for an opt-in lazy importing setup includes an
> explicit function for importlib that's mainly targeted for the stdlib
> and it's startup module needs, but could be used by others:
> https://notebooks.azure.com/Brett/libraries/di2Btqj7zSI/html/Lazy%20importing.ipynb

Awesome, thanks Brett! :)

Small nit pick, you need to add a special case for blocked imports.



More information about the Python-Dev mailing list