• Brett Cannon's avatar
    Issue #17093,17566,17567: Methods from classes in importlib.abc now raise/return · 100883f0
    Brett Cannon authored
    the default exception/value when called instead of raising/returning
    NotimplementedError/NotImplemented (except where appropriate).
    This should allow for the ABCs to act as the bottom/end of the MRO with expected
    default results.
    
    As part of this work, also make importlib.abc.Loader.module_repr()
    optional instead of an abstractmethod.
    100883f0
abc.py 7.34 KB