summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2016-02-20 20:52:06 (GMT)
committerBrett Cannon <brett@python.org>2016-02-20 20:52:06 (GMT)
commit4f38cb41fe022c94bb5569c72d8b48020d8c13d4 (patch)
tree6d6e1763c211a140c82462c2c9530030e1c292b8 /Misc/NEWS
parente10d370a929a80bc0708daea4bf4bc0715da9706 (diff)
downloadcpython-4f38cb41fe022c94bb5569c72d8b48020d8c13d4.zip
cpython-4f38cb41fe022c94bb5569c72d8b48020d8c13d4.tar.gz
cpython-4f38cb41fe022c94bb5569c72d8b48020d8c13d4.tar.bz2
Issue #26367: Have importlib.__init__() raise RuntimeError when
'level' is specified but no __package__. This brings the function inline with builtins.__import__(). Thanks to Manuel Jacob for the patch.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 2442290..cb42e27 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -76,6 +76,10 @@ Core and Builtins
Library
-------
+- Issue #26367: importlib.__init__() raises RuntimeError like
+ builtins.__import__() when ``level`` is specified but without an accompanying
+ package specified.
+
- Issue #26309: In the "socketserver" module, shut down the request (closing
the connected socket) when verify_request() returns false. Patch by Aviv
Palivoda.