cpython/Lib/importlib
Jason R. Coombs 843c277656
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>
2020-06-07 21:00:51 -04:00
..
__init__.py bpo-19468: delete unnecessary instance check in importlib.reload() (GH-19424) 2020-06-05 12:56:32 -07: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 21:00:51 -04:00
_common.py bpo-39791 native hooks for importlib.resources.files (GH-20576) 2020-06-07 21:00:51 -04:00
abc.py bpo-39791 native hooks for importlib.resources.files (GH-20576) 2020-06-07 21:00:51 -04: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) 2020-06-05 16:34:16 -04:00
readers.py bpo-39791 native hooks for importlib.resources.files (GH-20576) 2020-06-07 21:00:51 -04:00
resources.py bpo-39791 native hooks for importlib.resources.files (GH-20576) 2020-06-07 21:00:51 -04:00
util.py bpo-37444: Update differing exception between builtins and importlib (GH-14869) 2019-08-02 22:46:02 -07:00