You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, #7767 was closed because at the time the get method of PackageMetadata was considered an implementation detail, and @AlexWaygood said to open a new issue if that situation changes.
I'd be ok with fudging our rules a bit here, if in practice the get method was always present. But I have only superficial experience with PackageMetadata.
I see another reason why we should add .get() on all Python versions. Let's say you have an implementation of PackageMetadata that doesn't have .get(). You probably want to get type checker errors for it as soon as possible, because it will no longer be a valid implementation of PackageMetadata in Python 3.13.
Previously, #7767 was closed because at the time the
get
method ofPackageMetadata
was considered an implementation detail, and @AlexWaygood said to open a new issue if that situation changes.python/importlib_metadata#444 made it part of the API.
The text was updated successfully, but these errors were encountered: