diff options
author | Matthias Bussonnier <bussonniermatthias@gmail.com> | 2017-02-16 02:00:32 (GMT) |
---|---|---|
committer | Brett Cannon <brettcannon@users.noreply.github.com> | 2017-02-16 02:00:32 (GMT) |
commit | 1d4601c2c6952d03fc4dda2b041be9aa8713c0bc (patch) | |
tree | 0a2192efa8f0275e65a84ebef34fd060e72089c7 /Doc/whatsnew | |
parent | 72dccde884d89586b0cafd990675b7e21720a81f (diff) | |
download | cpython-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')
-rw-r--r-- | Doc/whatsnew/3.7.rst | 11 |
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 ======= |