cpython/Lib/importlib
Jason R. Coombs dfdca85dfa
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.
2020-12-31 12:56:43 -05:00
..
__init__.py bpo-42403: Simplify importlib external bootstrap (GH-23397) 2020-11-19 13:43:43 +01:00
_abc.py bpo-26131: Deprecate usage of load_module() (GH-23469) 2020-12-04 15:39:21 -08:00
_bootstrap.py bpo-26131: Deprecate usage of load_module() (GH-23469) 2020-12-04 15:39:21 -08:00
_bootstrap_external.py bpo-42246: Make sure that `f_lasti`, and thus `f_lineno`, is set correctly after raising or reraising an exception (GH-23803) 2020-12-17 13:55:28 +00:00
_common.py bpo-41490: ``path`` and ``contents`` to aggressively close handles (#22915) 2020-10-25 14:21:46 -04:00
abc.py bpo-42403: Fix pyflakes warnings in importlib (GH-23396) 2020-11-19 11:20:57 +01:00
machinery.py bpo-42403: Fix pyflakes warnings in importlib (GH-23396) 2020-11-19 11:20:57 +01:00
metadata.py bpo-42382: In importlib.metadata, `EntryPoint` objects now expose `dist` (#23758) 2020-12-31 12:56:43 -05:00
readers.py bpo-41490: ``path`` and ``contents`` to aggressively close handles (#22915) 2020-10-25 14:21:46 -04:00
resources.py bpo-41490: ``path`` and ``contents`` to aggressively close handles (#22915) 2020-10-25 14:21:46 -04:00
util.py bpo-42403: Fix pyflakes warnings in importlib (GH-23396) 2020-11-19 11:20:57 +01:00