* The first problem is almost certainly a bug, the annotation for `__getitem__` says it returns a `str` but it returns `None` if the metadata doesn't exist. https://github.com/python/importlib_metadata/blob/v4.11.2/importlib_metadata/_meta.py#L15 For example: ```python from importlib.metadata import metadata print(metadata("pip")["asdfg"] is None) # True ``` (second problem moved to #374).