]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-97850: Note in py312 whatsnew that `importlib.util.set_loader` and `importl...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 31 Aug 2023 22:03:02 +0000 (15:03 -0700)
committerGitHub <noreply@github.com>
Thu, 31 Aug 2023 22:03:02 +0000 (00:03 +0200)
gh-97850: Note in py312 whatsnew that `importlib.util.set_loader` and `importlib.util.module_for_loader` have been removed (GH-108719)

Note in py312 whatsnew that `importlib.util.set_loader` and `importlib.util.module_for_loader` have been removed
(cherry picked from commit 013a99a47b3299f48cf7f95aa451a116441b029c)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Doc/whatsnew/3.12.rst

index d0326e05f78ea9c7cc3348534981259369dacdc8..f76f9c465b91216dcdab7bbc38186ffc77385dfd 100644 (file)
@@ -1312,8 +1312,9 @@ Removed
   * References to, and support for :meth:`!module_repr()` has been removed.
     (Contributed by Barry Warsaw in :gh:`97850`.)
 
-  * ``importlib.util.set_package`` has been removed. (Contributed by Brett
-    Cannon in :gh:`65961`.)
+  * ``importlib.util.set_package``, ``importlib.util.set_loader`` and
+    ``importlib.util.module_for_loader`` have all been removed. (Contributed by
+    Brett Cannon and Nikita Sobolev in :gh:`65961` and :gh:`97850`.)
 
   * Support for ``find_loader()`` and ``find_module()`` APIs have been
     removed.  (Contributed by Barry Warsaw in :gh:`98040`.)