From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 31 May 2021 22:29:08 +0000 (-0700) Subject: bpo-44246: Remove note about access by index now that a compatibility shim is offered... X-Git-Tag: v3.10.0b3~71 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d0991e2db3bb932e2411ee9dca54fd69ff2611c4;p=thirdparty%2FPython%2Fcpython.git bpo-44246: Remove note about access by index now that a compatibility shim is offered. (GH-26472) (#26473) (cherry picked from commit 78d9a9b1904f0e1d9db1e941c19782f4f5a881d4) Co-authored-by: Jason R. Coombs Co-authored-by: Jason R. Coombs --- diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index 1297a8168f4c..1bf44511e21f 100644 --- a/Doc/whatsnew/3.10.rst +++ b/Doc/whatsnew/3.10.rst @@ -1039,7 +1039,7 @@ and will be incorrect in some rare cases, including some ``_``-s in importlib.metadata ------------------ -Feature parity with ``importlib_metadata`` 4.2 +Feature parity with ``importlib_metadata`` 4.4 (`history `_). :ref:`importlib.metadata entry points ` @@ -1047,9 +1047,6 @@ now provides a nicer experience for selecting entry points by group and name through a new :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