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

Brett Cannon brett at python.org
Mon Oct 9 12:44:47 EDT 2017


On Mon, Oct 2, 2017, 13:56 Antoine Pitrou, <solipsis at pitrou.net> wrote:

> 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).
>

Their Python 3 port wraps the stdlib code in their old API (they showed me
the code at PyCon US). So the GPL bit is for API adapting.

-Brett


> Regards
>
> Antoine.
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> https://mail.python.org/mailman/options/python-dev/brett%40python.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20171009/94ef4e71/attachment.html>


More information about the Python-Dev mailing list