[3.12] gh-97850: Note in py312 whatsnew that importlib.util.set_loader and importlib.util.module_for_loader have been removed (GH-108719) (#108723)

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 013a99a47b)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Miss Islington (bot) 2023-08-31 15:03:02 -07:00 committed by GitHub
parent bc42d6c604
commit a92c60c99b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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`.)