• Brett Cannon's avatar
    Issue #26186: Remove an invalid type check in · 558823a0
    Brett Cannon yazdı
    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.
    558823a0
Adı
Son kayıt (commit)
Son güncelleme
..
builtin Loading commit data...
extension Loading commit data...
frozen Loading commit data...
import_ Loading commit data...
namespace_pkgs Loading commit data...
source Loading commit data...
__init__.py Loading commit data...
__main__.py Loading commit data...
abc.py Loading commit data...
regrtest.py Loading commit data...
test_abc.py Loading commit data...
test_api.py Loading commit data...
test_lazy.py Loading commit data...
test_locks.py Loading commit data...
test_namespace_pkgs.py Loading commit data...
test_spec.py Loading commit data...
test_util.py Loading commit data...
test_windows.py Loading commit data...
util.py Loading commit data...