[04:28:17] <pradyunsg> jaraco: is there an API reference for `importlib.metadata` -- specifically for the classes/objects that represent the "metadata" object?
[04:29:07] <pradyunsg> cc: @di, since this came up in our discussions.
[11:30:48] <fungi> pradyunsg: the footnote at https://docs.python.org/3.10/library/importlib.metadata.html#f1 indicates it uses the email.message.EmailMessage class, but that you should treat it like a dict
[11:37:01] <fungi> i guess because the metadata file is roughly rfc 822 format so it just uses the message parser rather than define a new parser and class for the in-memory representation
[12:15:42] <fungi> (i went through a similar exploration of it recently in attempting to replace all calls into pkg_resources for a project of mine)
[16:48:05] <jaraco> @pradyunsg: The best reference is in the stdlib docs (https://docs.python.org/3/library/importlib.metadata.html) or in the source. That’s right that you should treat it like a dict except for entries that have multiple values. The project needs to publish a supported API for it.
[23:48:37] <travis-ci> pypa/pip#17613 (master - 2e4d748 : Chris Hunt): The build passed.