Saaket Prakash
Saaket Prakash
I actually did consider catching that separately, but skipped it because `PackageNotFoundError` is already a subclass of `ImportError` https://github.com/python/importlib_metadata/blob/53e42d6d70bd2068cd5bf0d351df89aa3cc0af31/importlib_metadata/__init__.py#L51 But looks like it wasn't a subclass of `ImportError` the past,...
Actually I was wrong about the 3 years ago thing, the `BaseClass` is either `ImportError` or `ModuleNotFoundError` (which is subclass of `ImportError`) even in the original version that introduced `PackageNotFoundError`...
Looking at the issue that resulted in the change of the return type of `email.message.EmailMessage.__getitem__` to Any, looks like it can contain lot more types that just str and Header...