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>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4