<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Thanks, Brett. Wasn't aware of lazy imports as well. I think that
one is even better reducing startup time as freezing stdlib.<br>
<br>
<div class="moz-cite-prefix">On 31.01.2016 18:57, Brett Cannon
wrote:<br>
</div>
<blockquote
cite="mid:CAP1=2W4d-FHCTz=n6vMpX4B77g+4pZF36iHgkLrpAG3FQCc2Qg@mail.gmail.com"
type="cite">
<div dir="ltr">I have opened <a moz-do-not-send="true"
href="http://bugs.python.org/issue26252">http://bugs.python.org/issue26252</a> to
track writing the example (and before ppl go playing with the
lazy loader, be aware of <a moz-do-not-send="true"
href="http://bugs.python.org/issue26186">http://bugs.python.org/issue26186</a>).</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Sun, 31 Jan 2016 at 09:26 Brett Cannon <<a
moz-do-not-send="true" href="mailto:brett@python.org"><a class="moz-txt-link-abbreviated" href="mailto:brett@python.org">brett@python.org</a></a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">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).</p>
<br>
<div class="gmail_quote">
<div dir="ltr">On Sun, 31 Jan 2016, 09:11 Donald Stufft <<a
moz-do-not-send="true" href="mailto:donald@stufft.io"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:donald@stufft.io">donald@stufft.io</a></a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><br>
<div>
<blockquote type="cite">
<div>On Jan 31, 2016, at 12:02 PM, Brett Cannon <<a
moz-do-not-send="true"
href="mailto:brett@python.org" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:brett@python.org">brett@python.org</a></a>>
wrote:</div>
<br>
<div><span
style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">A
lazy importer was added in Python 3.5</span></div>
</blockquote>
</div>
<div><br>
</div>
</div>
<div style="word-wrap:break-word">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.<br>
<div>
<br>
-----------------<br>
Donald Stufft<br>
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926
F04F 6E3C BCE9 3372 DCFA
</div>
<br>
</div>
</blockquote>
</div>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Python-Dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Python-Dev@python.org">Python-Dev@python.org</a>
<a class="moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/python-dev">https://mail.python.org/mailman/listinfo/python-dev</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://mail.python.org/mailman/options/python-dev/srkunze%40mail.de">https://mail.python.org/mailman/options/python-dev/srkunze%40mail.de</a>
</pre>
</blockquote>
<br>
</body>
</html>