summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-11-19 12:43:43 (GMT)
committerGitHub <noreply@github.com>2020-11-19 12:43:43 (GMT)
commit3390347aa036404453213d589fe1e35902e55fd4 (patch)
tree49309f502a12cfece7b30190f3f36a8ab1143d46 /Misc/NEWS.d
parent7d9d25dbedfffce61fc76bc7ccbfa9ae901bf56f (diff)
downloadcpython-3390347aa036404453213d589fe1e35902e55fd4.zip
cpython-3390347aa036404453213d589fe1e35902e55fd4.tar.gz
cpython-3390347aa036404453213d589fe1e35902e55fd4.tar.bz2
bpo-42403: Simplify importlib external bootstrap (GH-23397)
Simplify the importlib external bootstrap code: importlib._bootstrap_external now uses regular imports to import builtin modules. When it is imported, the builtin __import__() function is already fully working and so can be used to import builtin modules like sys.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2020-11-19-10-12-39.bpo-42403.t7q5AX.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-11-19-10-12-39.bpo-42403.t7q5AX.rst b/Misc/NEWS.d/next/Library/2020-11-19-10-12-39.bpo-42403.t7q5AX.rst
new file mode 100644
index 0000000..a90459a
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-11-19-10-12-39.bpo-42403.t7q5AX.rst
@@ -0,0 +1,5 @@
+Simplify the :mod:`importlib` external bootstrap code:
+``importlib._bootstrap_external`` now uses regular imports to import builtin
+modules. When it is imported, the builtin :func:`__import__()` function is
+already fully working and so can be used to import builtin modules like
+:mod:`sys`. Patch by Victor Stinner.