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
Shouldn't distlib.metadata.Metadata.dictionary be renamed into _dictionary (or instead return the results equivalent to the ones returned by todict)?
#193
Open
KOLANICH opened this issue
Feb 12, 2023
· 0 comments
Is your feature request related to a problem? Please describe. .dictionary and .todict() return different results for Metadata 2.1, which is confusing (one uses tab-completion, sees dictionary, reads it, sees the dict, but it turns out the dict is incomplete (i.e. 'project_url' and other keys form ._legacy are missing), and after digging into the source one understands that one needs to use .todict() instead).
Describe the solution you'd like
move .dictionary to ._dictionary.
optionally create a dictionary read-only property returning the same as .todict()
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
.dictionary
and.todict()
return different results forMetadata 2.1
, which is confusing (one uses tab-completion, seesdictionary
, reads it, sees the dict, but it turns out the dict is incomplete (i.e. 'project_url' and other keys form._legacy
are missing), and after digging into the source one understands that one needs to use.todict()
instead).Describe the solution you'd like
.dictionary
to._dictionary
.dictionary
read-only property returning the same as.todict()
The text was updated successfully, but these errors were encountered: