summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2023-05-03 23:11:54 (GMT)
committerGitHub <noreply@github.com>2023-05-03 23:11:54 (GMT)
commitd6e83fbf30fb25996b547d8a2444814437e228e5 (patch)
tree56a956bc3dcac4bc088742b682300ba6135678b6 /Misc
parent9f9e001ab2ab67acdb2e0383a25ab4c164608a47 (diff)
downloadcpython-d6e83fbf30fb25996b547d8a2444814437e228e5.zip
cpython-d6e83fbf30fb25996b547d8a2444814437e228e5.tar.gz
cpython-d6e83fbf30fb25996b547d8a2444814437e228e5.tar.bz2
gh-97850: Deprecate `find_loader` and `get_loader` in `pkgutil` (GH-98520)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Brett Cannon <brett@python.org> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2022-10-21-16-23-31.gh-issue-97850.N46coo.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-10-21-16-23-31.gh-issue-97850.N46coo.rst b/Misc/NEWS.d/next/Library/2022-10-21-16-23-31.gh-issue-97850.N46coo.rst
new file mode 100644
index 0000000..e3297d1
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-10-21-16-23-31.gh-issue-97850.N46coo.rst
@@ -0,0 +1,2 @@
+Deprecate :func:`pkgutil.find_loader` and :func:`pkgutil.get_loader`
+in favor of :func:`importlib.util.find_spec`.