Documentation
Docs for importlib.resources.abc.ResourceReader and the implementation differ in a few details. So far I've noticed
If fixes are desired then I'm happy to take it on, and coordinate fixes with e.g. https://github.com/python/importlib_resources, https://github.com/python/typeshed
Linked PRs
Documentation
Docs for
importlib.resources.abc.ResourceReaderand the implementation differ in a few details. So far I've noticedis_resource()differsDocs:
is_resource(name).Code:
is_resource(... path ...)Implementation calls the parameterpathcontents()differsDocs: "The abstract method returns an iterable of no items."
Code:
raise FileNotFoundErrorIf fixes are desired then I'm happy to take it on, and coordinate fixes with e.g. https://github.com/python/importlib_resources, https://github.com/python/typeshed
Linked PRs
ResourceReader.is_resource(GH-143523) #143562ResourceReader.is_resource(GH-143523) #143563