[proxy] github.com← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

bpo-39791 native hooks for importlib.resources.files by jaraco · Pull Request #20576 · python/cpython

jaraco

added 2 commits

May 31, 2020 21:39

… fallback support.

This was referenced

Jun 5, 2020

Closed

Merged

…ule name context.

…pimporter.

…face for extension via get_resource_reader.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Jun 8, 2020

* Provide native .files support on SourceFileLoader.

* Add native importlib.resources.files() support to zipimporter. Remove fallback support.

* make regen-all

* 📜🤖 Added by blurb_it.

* Move 'files' into the ResourceReader so it can carry the relevant module name context.

* Create 'importlib.readers' module and add FileReader to it.

* Add zip reader and rely on it for a TraversableResources object on zipimporter.

* Remove TraversableAdapter, no longer needed.

* Update blurb.

* Replace backslashes with forward slashes.

* Incorporate changes from importlib_metadata 2.0, finalizing the interface for extension via get_resource_reader.

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
(cherry picked from commit 843c277)

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>

jaraco deleted the feature/39791-resources-files branch

June 8, 2020 01:01

miss-islington added a commit that referenced this pull request

Jun 8, 2020
* Provide native .files support on SourceFileLoader.

* Add native importlib.resources.files() support to zipimporter. Remove fallback support.

* make regen-all

* 📜🤖 Added by blurb_it.

* Move 'files' into the ResourceReader so it can carry the relevant module name context.

* Create 'importlib.readers' module and add FileReader to it.

* Add zip reader and rely on it for a TraversableResources object on zipimporter.

* Remove TraversableAdapter, no longer needed.

* Update blurb.

* Replace backslashes with forward slashes.

* Incorporate changes from importlib_metadata 2.0, finalizing the interface for extension via get_resource_reader.

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
(cherry picked from commit 843c277)

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>

ambv added a commit to ambv/cpython that referenced this pull request

Jun 9, 2020

ambv added a commit that referenced this pull request

Jun 9, 2020

Merged

Closed

Merged

jaraco added a commit to jaraco/cpython that referenced this pull request

Feb 17, 2023

Closed

1 task