[issue32192] Provide importlib.util.lazy_import helper function

2020-10-05 Thread Brett Cannon
Brett Cannon added the comment: Yep, I think the example is enough to close this. Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue32192] Provide importlib.util.lazy_import helper function

2020-10-03 Thread Irit Katriel
Irit Katriel added the comment: This seems complete. Can is be closed? -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue32192] Provide importlib.util.lazy_import helper function

2020-07-13 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: New changeset 8dd32fe645c9503cf8e6be4b1580c3a59b450168 by Joannah Nanjekye in branch 'master': bpo-32192: A basic lazy importer example (GH-21330) https://github.com/python/cpython/commit/8dd32fe645c9503cf8e6be4b1580c3a59b450168 --

[issue32192] Provide importlib.util.lazy_import helper function

2020-07-04 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch nosy: +nanjekyejoannah nosy_count: 5.0 -> 6.0 pull_requests: +20480 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/21330 ___ Python tracker

[issue32192] Provide importlib.util.lazy_import helper function

2017-12-02 Thread Nick Coghlan
Nick Coghlan added the comment: Maintaining the actual implementation as a third party module seems like a good idea to me, so I'm marking this as a documentation issue instead. The idea would be to add this as an example of a very basic lazy importer under

[issue32192] Provide importlib.util.lazy_import helper function

2017-12-01 Thread Brett Cannon
Brett Cannon added the comment: Already planning this as a PyPI package (at least to start). See https://notebooks.azure.com/Brett/libraries/di2Btqj7zSI/html/Lazy%20importing.ipynb for the design. -- ___ Python tracker

[issue32192] Provide importlib.util.lazy_import helper function

2017-12-01 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list

[issue32192] Provide importlib.util.lazy_import helper function

2017-12-01 Thread Nick Coghlan
Change by Nick Coghlan : -- nosy: +brett.cannon, eric.snow stage: -> needs patch type: -> enhancement versions: +Python 3.7, Python 3.8 ___ Python tracker

[issue32192] Provide importlib.util.lazy_import helper function

2017-12-01 Thread Nick Coghlan
New submission from Nick Coghlan : While importlib provides all the *pieces* to implement lazy imports, we don't actually provide a clear way of chaining them together into a lazy import operation. Without any error checking, that looks like: import sys import