summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.7.rst
diff options
context:
space:
mode:
authorMatthias Bussonnier <bussonniermatthias@gmail.com>2017-02-16 02:00:32 (GMT)
committerBrett Cannon <brettcannon@users.noreply.github.com>2017-02-16 02:00:32 (GMT)
commit1d4601c2c6952d03fc4dda2b041be9aa8713c0bc (patch)
tree0a2192efa8f0275e65a84ebef34fd060e72089c7 /Doc/whatsnew/3.7.rst
parent72dccde884d89586b0cafd990675b7e21720a81f (diff)
downloadcpython-1d4601c2c6952d03fc4dda2b041be9aa8713c0bc.zip
cpython-1d4601c2c6952d03fc4dda2b041be9aa8713c0bc.tar.gz
cpython-1d4601c2c6952d03fc4dda2b041be9aa8713c0bc.tar.bz2
bpo-29576: add explicit deprecation for importlib.abc.find_loader() and find_module() (GH-32)
Diffstat (limited to 'Doc/whatsnew/3.7.rst')
-rw-r--r--Doc/whatsnew/3.7.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index 81ad4f9..21621c5 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -140,6 +140,17 @@ Deprecated
``0x03050400`` and ``0x03060000`` (not including) or ``0x03060100`` or
higher. (Contributed by Serhiy Storchaka in :issue:`27867`.)
+- Methods
+ :meth:`MetaPathFinder.find_module() <importlib.abc.MetaPathFinder.find_module>`
+ (replaced by
+ :meth:`MetaPathFinder.find_spec() <importlib.abc.MetaPathFinder.find_spec>`
+ ) and
+ :meth:`PathEntryFinder.find_loader() <importlib.abc.PathEntryFinder.find_loader>`
+ (replaced by
+ :meth:`PathEntryFinder.find_spec() <importlib.abc.PathEntryFinder.find_spec>`)
+ both deprecated in Python 3.4 now emit :exc:`DeprecationWarning`. (Contributed
+ by Matthias Bussonnier in :issue:`29576`)
+
Removed
=======