• Brett Cannon's avatar
    Issue #26186: Remove an invalid type check in · 558823a0
    Brett Cannon authored
    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
test_lazy.py 4.32 KB