summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-03-14 11:21:39 -0400
committerJason R. Coombs <jaraco@jaraco.com>2021-03-14 11:21:39 -0400
commit7dd93ca2759193b3ce70806b2d9b490e52012ab5 (patch)
treebb1edd95106e860823b3cea272fa7bb7be3fed85
parent690775ab880b0278f10d7222d215074389fe22e9 (diff)
downloadcpython-git-bpo-43428/importlib-metadata-3.7.tar.gz
Add section in what's new for Python 3.10 highlighting most salient changes and relevant backport.bpo-43428/importlib-metadata-3.7
-rw-r--r--Doc/whatsnew/3.10.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index db36f69e8d..c4c282e5a0 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -690,6 +690,19 @@ Added the *root_dir* and *dir_fd* parameters in :func:`~glob.glob` and
:func:`~glob.iglob` which allow to specify the root directory for searching.
(Contributed by Serhiy Storchaka in :issue:`38144`.)
+importlib.metadata
+------------------
+
+Feature parity with ``importlib_metadata`` 3.7.
+
+:func:`importlib.metadata.entry_points` now provides a nicer experience
+for selecting entry points by group and name through a new
+:class:`importlib.metadata.EntryPoints` class.
+
+Added :func:`importlib.metadata.packages_distributions` for resolving
+top-level Python modules and packages to their
+:class:`importlib.metadata.Distribution`.
+
inspect
-------