[Python-Dev] More optimisation ideas (original) (raw)

Sven R. Kunze srkunze at mail.de
Mon Feb 1 13:11:28 EST 2016


Thanks, Brett. Wasn't aware of lazy imports as well. I think that one is even better reducing startup time as freezing stdlib.

On 31.01.2016 18:57, Brett Cannon wrote:

I have opened http://bugs.python.org/issue26252 to track writing the example (and before ppl go playing with the lazy loader, be aware of http://bugs.python.org/issue26186).

On Sun, 31 Jan 2016 at 09:26 Brett Cannon <brett at python.org_ _<mailto:brett at python.org>> wrote: There are no example docs for it yet, but enough people have asked this week about how to set up a custom importer that I will write up a generic example case which will make sense for a lazy loader (need to file the issue before I forget).

On Sun, 31 Jan 2016, 09:11 Donald Stufft <donald at stufft.io_ _<mailto:donald at stufft.io>> wrote:

On Jan 31, 2016, at 12:02 PM, Brett Cannon <brett at python.org_ _<mailto:brett at python.org>> wrote: A lazy importer was added in Python 3.5 Is there any docs on how to actually use the LazyLoader in 3.5? I can’t seem to find any but I don’t really know the import system that well. ----------------- Donald Stufft PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA


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/srkunze%40mail.de

-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20160201/1ac8c470/attachment.html>



More information about the Python-Dev mailing list