<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Mon, 2 Oct 2017 at 11:19 Christian Heimes <<a href="mailto:christian@python.org">christian@python.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2017-10-02 19:29, Brett Cannon wrote:<br>
> My current design for an opt-in lazy importing setup includes an<br>
> explicit function for importlib that's mainly targeted for the stdlib<br>
> and it's startup module needs, but could be used by others:<br>
> <a href="https://notebooks.azure.com/Brett/libraries/di2Btqj7zSI/html/Lazy%20importing.ipynb" rel="noreferrer" target="_blank">https://notebooks.azure.com/Brett/libraries/di2Btqj7zSI/html/Lazy%20importing.ipynb</a><br>
<br>
Awesome, thanks Brett! :)<br></blockquote><div><br></div><div>Well, I have to find the time to try and get this in for Python 3.7 (I'm currently working with Barry on a pkg_resources replacement so there's a queue :) .<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Small nit pick, you need to add a special case for blocked imports.<br></blockquote><div><br></div><div>Added a note at the end of the notebook about needing to make sure that's properly supported.</div><div><br></div><div>-Brett<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org" target="_blank">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/brett%40python.org" rel="noreferrer" target="_blank">https://mail.python.org/mailman/options/python-dev/brett%40python.org</a><br>
</blockquote></div></div>