summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-04-09 20:59:39 (GMT)
committerBrett Cannon <brett@python.org>2013-04-09 20:59:39 (GMT)
commit100883f0cbccb936b928ddaa962c967296455af3 (patch)
treec4baf0d78f3d16a33849efdcdbf2d624b3db1070 /Misc
parent0f344b6e0526245249b80219e6001616307d2b35 (diff)
downloadcpython-100883f0cbccb936b928ddaa962c967296455af3.zip
cpython-100883f0cbccb936b928ddaa962c967296455af3.tar.gz
cpython-100883f0cbccb936b928ddaa962c967296455af3.tar.bz2
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 7cc0e70..1cb81fe 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -30,6 +30,13 @@ Core and Builtins
Library
-------
+- Issue #17093: Make the ABCs in importlib.abc provide default values or raise
+ reasonable exceptions for their methods to make them more amenable to super()
+ calls.
+
+- Issue #17566: Make importlib.abc.Loader.module_repr() optional instead of an
+ abstractmethod and raising NotImplementedError so as to be ignored by default.
+
- Issue #17678: Remove the use of deprecated method in http/cookiejar.py.
Changing the usage of get_origin_req_host() to origin_req_host.