mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
bpo-42382: In importlib.metadata, EntryPoint objects now expose dist (#23758)
* bpo-42382: In importlib.metadata, `EntryPoint` objects now expose a `.dist` object referencing the `Distribution` when constructed from a `Distribution`. Also, sync importlib_metadata 3.3: - Add support for package discovery under package normalization rules. - The object returned by `metadata()` now has a formally-defined protocol called `PackageMetadata` with declared support for the `.get_all()` method. * Add blurb * Remove latent footnote.
This commit is contained in:
parent
f4936ad1c4
commit
dfdca85dfa
7 changed files with 286 additions and 154 deletions
|
|
@ -0,0 +1,6 @@
|
|||
In ``importlib.metadata``: - ``EntryPoint`` objects now expose a ``.dist``
|
||||
object referencing the ``Distribution`` when constructed from a
|
||||
``Distribution``. - Add support for package discovery under package
|
||||
normalization rules. - The object returned by ``metadata()`` now has a
|
||||
formally-defined protocol called ``PackageMetadata`` with declared support
|
||||
for the ``.get_all()`` method. - Synced with importlib_metadata 3.3.
|
||||
Loading…
Add table
Add a link
Reference in a new issue