cpython/Lib/importlib
Miss Islington (bot) 9cf1be46e3
bpo-39791 native hooks for importlib.resources.files (GH-20576)
* 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 843c277656)

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
2020-06-07 18:30:08 -07:00
..
__init__.py bpo-25711: Rewrite zipimport in pure Python. (GH-6809) 2018-09-18 22:22:29 +03:00
_bootstrap.py bpo-38091: Import deadlock detection causes deadlock (GH-17518) 2020-03-02 17:37:25 -08:00
_bootstrap_external.py bpo-39791 native hooks for importlib.resources.files (GH-20576) 2020-06-07 18:30:08 -07:00
_common.py bpo-39791 native hooks for importlib.resources.files (GH-20576) 2020-06-07 18:30:08 -07:00
abc.py bpo-39791 native hooks for importlib.resources.files (GH-20576) 2020-06-07 18:30:08 -07:00
machinery.py Issue #23911: Move path-based bootstrap code to a separate frozen module. 2015-05-02 19:15:18 -06:00
metadata.py bpo-39791: Refresh importlib.metadata from importlib_metadata 1.6.1. (GH-20659) (GH-20661) 2020-06-05 17:46:24 -04:00
readers.py bpo-39791 native hooks for importlib.resources.files (GH-20576) 2020-06-07 18:30:08 -07:00
resources.py bpo-39791 native hooks for importlib.resources.files (GH-20576) 2020-06-07 18:30:08 -07:00
util.py bpo-37444: Update differing exception between builtins and importlib (GH-14869) 2019-08-02 22:46:02 -07:00