bpo-42129: Add support for resources in namespaces #24670
Merged
Conversation
ca3c385
to
ecb7df1
Annoyingly, this change includes adoption of black in the backport, so includes all of the flux and losses in readability that brings. |
According to the test failures, something is modifying sys.path. |
jaraco
reviewed
Mar 4, 2021
84008ab
to
a7555f6
gvanrossum
added a commit
to gvanrossum/cpython
that referenced
this issue
Mar 10, 2021
* Unify behavior in ResourceReaderDefaultsTests and align with the behavior found in importlib_resources. * Equip NamespaceLoader with a NamespaceReader. * Apply changes from importlib_resources 5.0.4
Thank you so much for this! I spent a long time this weekend trying to work around this for https://github.com/sct-data/spinalcordtoobox-data-template until I eventually just gave up. |
kreathon
added a commit
to kreathon/cpython
that referenced
this issue
May 2, 2021
* Unify behavior in ResourceReaderDefaultsTests and align with the behavior found in importlib_resources. * Equip NamespaceLoader with a NamespaceReader. * Apply changes from importlib_resources 5.0.4
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
And sync with importlib_resources 5.0.3.
https://bugs.python.org/issue42129
The text was updated successfully, but these errors were encountered: