FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-143387: Add news blurb for importlib.metadata highlighting the change. by jaraco · Pull Request #150169 · python/cpython · GitHub

/ cpython Public
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .rst  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
13 changes: 13 additions & 0 deletions Doc/whatsnew/3.15.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -1207,6 +1207,19 @@ http.server
(Contributed by Anton I. Sipos in :gh:`135057`.)


importlib.metadata
------------------

* Previously, when accessing a distribution metadata directory not
containing a metadata file, ``metadata()`` and ``Distribution.metadata()``
would return an empty ``PackageMetadata`` object as if the file
was present but empty. Now, a ``MetadataNotFound`` exception is raised.
See `importlib_metadata#493 <https://github.com/python/importlib_metadata/issues/493>`_
for background and rationale and and :gh:`143387` for rationale on the
compatibility concerns.
(Contributed by Jason R. Coombs.)


inspect
-------

Expand Down
Loading

Back | FazBrowse Home | New Git URL