From: Alex Waygood Date: Thu, 31 Aug 2023 14:35:23 +0000 (+0100) Subject: gh-97850: Note in py312 whatsnew that `importlib.util.set_loader` and `importlib... X-Git-Tag: v3.13.0a1~678 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=013a99a47b3299f48cf7f95aa451a116441b029c;p=thirdparty%2FPython%2Fcpython.git gh-97850: Note in py312 whatsnew that `importlib.util.set_loader` and `importlib.util.module_for_loader` have been removed (#108719) Note in py312 whatsnew that `importlib.util.set_loader` and `importlib.util.module_for_loader` have been removed --- diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index c5a5f7e6bd02..fb31a07930da 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -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`.)