[Python-Dev] Investigating time for `import requests`

Antoine Pitrou solipsis at pitrou.net
Mon Oct 2 16:55:22 EDT 2017


On Mon, 02 Oct 2017 18:56:15 +0000
Brett Cannon <brett at python.org> wrote:
> 
> So Mercurial specifically is an odd duck because they already do lazy
> importing (in fact they are using the lazy loading support from importlib).

Do they?  I was under the impression they had their own home-baked,
GPL-licensed, lazy-loading __import__ re-implementation.

At least they used to, perhaps they switched to something else
(probably still GPL-licensed, though).

Regards

Antoine.




More information about the Python-Dev mailing list