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 <br...@python.org <mailto:br...@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 <don...@stufft.io
    <mailto:don...@stufft.io>> wrote:


        On Jan 31, 2016, at 12:02 PM, Brett Cannon <br...@python.org
        <mailto:br...@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@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/srkunze%40mail.de

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to