We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87a879f commit cb3b4b9Copy full SHA for cb3b4b9
1 file changed
Doc/whatsnew/3.15.rst
@@ -1207,6 +1207,19 @@ http.server
1207
(Contributed by Anton I. Sipos in :gh:`135057`.)
1208
1209
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
1223
inspect
1224
-------
1225
0 commit comments