summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-07-05 10:11:42 (GMT)
committerGitHub <noreply@github.com>2022-07-05 10:11:42 (GMT)
commit92bcb26d000c5890127a87ade2bd813cf1218704 (patch)
tree2ab595f66f2d8a64e656ad31ec341b61ee10d42a /Doc
parent3440d197a55800ecceea3e115e44b4262411359c (diff)
downloadcpython-92bcb26d000c5890127a87ade2bd813cf1218704.zip
cpython-92bcb26d000c5890127a87ade2bd813cf1218704.tar.gz
cpython-92bcb26d000c5890127a87ade2bd813cf1218704.tar.bz2
gh-94379: Remove zipimport find_loader() and find_module() methods (#94380)
zipimport: Remove find_loader() and find_module() methods, deprecated in Python 3.10: use the find_spec() method instead. See PEP 451 for the rationale.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.12.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst
index 43239a7..a095baa 100644
--- a/Doc/whatsnew/3.12.rst
+++ b/Doc/whatsnew/3.12.rst
@@ -299,6 +299,11 @@ Removed
has no ``copy()`` method, only a ``__copy__()`` method.
(Contributed by Victor Stinner in :gh:`94383`.)
+* :mod:`zipimport`: Remove ``find_loader()`` and ``find_module()`` methods,
+ deprecated in Python 3.10: use the ``find_spec()`` method instead. See
+ :pep:`451` for the rationale.
+ (Contributed by Victor Stinner in :gh:`94379`.)
+
Porting to Python 3.12
======================