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.
This commit is contained in:
Brett Cannon 2013-04-09 16:59:39 -04:00
parent 0f344b6e05
commit 100883f0cb
7 changed files with 2324 additions and 2241 deletions

File diff suppressed because it is too large Load diff