Skip to content

Commit 7c44700

Browse files
encukoumiss-islington
authored andcommitted
gh-97850: Add load_module() removal to 3.15 What's New (GH-156418)
(cherry picked from commit 7d71b3e) Co-authored-by: Petr Viktorin <encukou@gmail.com>
1 parent 6409b1e commit 7c44700

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Doc/whatsnew/3.15.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2106,6 +2106,17 @@ http.server
21062106
(Contributed by Bénédikt Tran in :gh:`133810`.)
21072107

21082108

2109+
importlib
2110+
---------
2111+
2112+
* The ``load_module()`` methods of :class:`~importlib.abc.Loader` and its
2113+
subclasses is removed.
2114+
The import system will no longer call it when defined on custom subclasses.
2115+
The method has been deprecated in favor of
2116+
:meth:`~importlib.abc.Loader.exec_module` since Python 3.4.
2117+
(Contributed by Brett Cannon in :gh:`97850`.)
2118+
2119+
21092120
importlib.resources
21102121
-------------------
21112122

0 commit comments

Comments
 (0)