Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions Doc/whatsnew/3.10.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1039,11 +1039,17 @@ and will be incorrect in some rare cases, including some ``_``-s in
importlib.metadata
------------------

Feature parity with ``importlib_metadata`` 3.7.
Feature parity with ``importlib_metadata`` 4.2
(`history <https://importlib-metadata.readthedocs.io/en/latest/history.html>`_).

:func:`importlib.metadata.entry_points` now provides a nicer experience
:ref:`importlib.metadata entry points <entry-points>`
now provides a nicer experience
for selecting entry points by group and name through a new
:class:`importlib.metadata.EntryPoints` class.
:class:`importlib.metadata.EntryPoints` class. See the Compatibility
Note in the docs for more info on the deprecation and usage.
Incidentally, these changes also removed access by index on the
result of :func:`importlib.metadata.Distribution.entry_points`
(see :issue:`44246` for more detail).

Added :func:`importlib.metadata.packages_distributions` for resolving
top-level Python modules and packages to their
Expand Down