Skip to content

Commit d6bd563

Browse files
Merge branch 'main' into fix-150075-tar-addfile-no-offsets
2 parents ee221f2 + cb3b4b9 commit d6bd563

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Doc/whatsnew/3.15.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1207,6 +1207,19 @@ http.server
12071207
(Contributed by Anton I. Sipos in :gh:`135057`.)
12081208

12091209

1210+
importlib.metadata
1211+
------------------
1212+
1213+
* Previously, when accessing a distribution metadata directory not
1214+
containing a metadata file, ``metadata()`` and ``Distribution.metadata()``
1215+
would return an empty ``PackageMetadata`` object as if the file
1216+
was present but empty. Now, a ``MetadataNotFound`` exception is raised.
1217+
See `importlib_metadata#493 <https://github.com/python/importlib_metadata/issues/493>`_
1218+
for background and rationale and and :gh:`143387` for rationale on the
1219+
compatibility concerns.
1220+
(Contributed by Jason R. Coombs.)
1221+
1222+
12101223
inspect
12111224
-------
12121225

0 commit comments

Comments
 (0)