summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib/test_lazy.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-36766: Typos in docs and code comments (GH-13116)penguindustin2019-05-061-1/+1
|
* Issue #26186: Remove the restriction that built-in and extensionBrett Cannon2016-06-251-0/+2
| | | | | | | | modules can't be lazily loaded. Thanks to Python 3.6 allowing for types.ModuleType to have its __class__ mutated, the restriction can be lifted by calling create_module() on the wrapped loader.
* Fix a scoping issue where an UnboundLocalError was triggered if aBrett Cannon2016-06-251-3/+13
| | | | lazy-loaded module was already in sys.modules.
* Issue #26186: Remove an invalid type check inBrett Cannon2016-02-211-0/+1
| | | | | | | | | | | importlib.util.LazyLoader. The class was checking its argument as to whether its implementation of create_module() came directly from importlib.abc.Loader. The problem is that the classes coming from imoprtlib.machinery do not directly inherit from the ABC as they come from _frozen_importlib. Because the documentation has always said that create_module() was ignored, the check has simply been removed.
* Issue #17621: Introduce importlib.util.LazyLoader.Brett Cannon2014-04-041-0/+132