commit | 100883f0cbccb936b928ddaa962c967296455af3 | [log] [tgz] |
---|---|---|
author | Brett Cannon <brett@python.org> | Tue Apr 09 16:59:39 2013 -0400 |
committer | Brett Cannon <brett@python.org> | Tue Apr 09 16:59:39 2013 -0400 |
tree | c4baf0d78f3d16a33849efdcdbf2d624b3db1070 | |
parent | 0f344b6e0526245249b80219e6001616307d2b35 [diff] |
Issue #17093,17566,17567: Methods from classes in importlib.abc now raise/return 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.