summaryrefslogtreecommitdiffstats
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-06-08 01:30:08 (GMT)
committerGitHub <noreply@github.com>2020-06-08 01:30:08 (GMT)
commit9cf1be46e3692d565461afd3afa326d124d743dd (patch)
treee4934e10604beeb57cd5cd90f754821f93b1e4ff /Python/sysmodule.c
parent64409117361499058b1bf95e6efec31f7bb3c0d0 (diff)
downloadcpython-9cf1be46e3692d565461afd3afa326d124d743dd.zip
cpython-9cf1be46e3692d565461afd3afa326d124d743dd.tar.gz
cpython-9cf1be46e3692d565461afd3afa326d124d743dd.tar.bz2
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 843c27765652e2322011fb3e5d88f4837de38c06) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions