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 ad2f0cb commit 1359b40Copy full SHA for 1359b40
1 file changed
Doc/whatsnew/3.15.rst
@@ -1208,6 +1208,19 @@ http.server
1208
(Contributed by Anton I. Sipos in :gh:`135057`.)
1209
1210
1211
+importlib.metadata
1212
+------------------
1213
+
1214
+* Previously, when accessing a distribution metadata directory not
1215
+ containing a metadata file, ``metadata()`` and ``Distribution.metadata()``
1216
+ would return an empty ``PackageMetadata`` object as if the file
1217
+ was present but empty. Now, a ``MetadataNotFound`` exception is raised.
1218
+ See `importlib_metadata#493 <https://github.com/python/importlib_metadata/issues/493>`_
1219
+ for background and rationale and and :gh:`143387` for rationale on the
1220
+ compatibility concerns.
1221
+ (Contributed by Jason R. Coombs.)
1222
1223
1224
inspect
1225
-------
1226
0 commit comments