Author jaraco
Recipients FFY00, barry, jaraco
Date 2021-01-10.17:47:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In [this commit](, I've reconciled and merged the changes from importlib_resources 3.2-5.0, mainly the namespace package support (

Applying these changes to cpython and running the tests, there appear to be two emergent failure modes:

cpython master $ http --follow | bsdtar --strip-components 1 -x
$ ./python.exe Tools/scripts/ test.test_importlib 2>&1 | gist -Pc

In my estimation, the first two failures are due to the change in the abc.ResourceReader for contents to raise FileNotFoundError.

And the latter failures are seemingly due to the built-in NamespaceLoader not having a resource reader. I suspect the fix here is to add a .get_resource_reader() method to _NamespaceLoader to return a NamespaceReader. (hint: when updating, you'll need to run `make regen-importlib` or `make regen-all` and recompile).

Filipe, would you be interested in exploring these issues and propose some fixes and prepare the PR that applies the changes to CPython?
Date User Action Args
2021-01-10 17:47:48jaracosetrecipients: + jaraco, barry, FFY00
2021-01-10 17:47:48jaracosetmessageid: <>
2021-01-10 17:47:48jaracolinkissue42129 messages
2021-01-10 17:47:48jaracocreate