René's URL Explorer Experiment


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

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

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

Description: Integrate native .files() support for SourceFileLoader and ZipImporter. Remove the 'fallback' behavior and rely entirely on loader.files() for all resources. https://bugs.python.org/issue39791

Open Graph Description: Integrate native .files() support for SourceFileLoader and ZipImporter. Remove the 'fallback' behavior and rely entirely on loader.files() for all resources. https://bugs.python.org/issue3...

X Description: Integrate native .files() support for SourceFileLoader and ZipImporter. Remove the 'fallback' behavior and rely entirely on loader.files() for all resources. https://bugs.python.or...

Opengraph URL: https://github.com/python/cpython/pull/20576

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:fac90af5-b6fc-94df-f6f6-8f00d936baeb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEA30:38A7FD:101BEEC:165018B:6A4DDB00
html-safe-nonceb473765aa187c72d4b9eb0552c70aa24d3d787fe55cfbf20565f0821e4adb510
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTMwOjM4QTdGRDoxMDFCRUVDOjE2NTAxOEI6NkE0RERCMDAiLCJ2aXNpdG9yX2lkIjoiNTU1MTg4NTY4NDUwMTc2NDg2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac821a2af201486f52e07375aa0b7ab918ced22afc6fe3a87c4640ea53c8b1cb24
hovercard-subject-tagpull_request:426090890
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/20576/files
twitter:imagehttps://avatars.githubusercontent.com/u/308610?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/308610?s=400&v=4
og:image:altIntegrate native .files() support for SourceFileLoader and ZipImporter. Remove the 'fallback' behavior and rely entirely on loader.files() for all resources. https://bugs.python.org/issue3...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/20576/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F20576%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F20576%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/20576/files
Reloadhttps://github.com/python/cpython/pull/20576/files
Reloadhttps://github.com/python/cpython/pull/20576/files
Please reload this pagehttps://github.com/python/cpython/pull/20576/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/20576/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.6k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
jaracohttps://github.com/jaraco
python:masterhttps://github.com/python/cpython/tree/master
Conversation 9 https://github.com/python/cpython/pull/20576
Commits 12 https://github.com/python/cpython/pull/20576/commits
Checks 0 https://github.com/python/cpython/pull/20576/checks
Files changed https://github.com/python/cpython/pull/20576/files
Please reload this pagehttps://github.com/python/cpython/pull/20576/files
bpo-39791 native hooks for importlib.resources.files https://github.com/python/cpython/pull/20576/files#top
Show all changes 12 commits https://github.com/python/cpython/pull/20576/files
e42bf42 Provide native .files support on SourceFileLoader. jaraco May 9, 2020 https://github.com/python/cpython/pull/20576/commits/e42bf42442682accc5432c34b2b3dcf308a8db0f
f8c96fa Add native importlib.resources.files() support to zipimporter. Remove… jaraco Jun 1, 2020 https://github.com/python/cpython/pull/20576/commits/f8c96fa4beca13beeed26edb409fc2cf1e77aa70
6304bee make regen-all jaraco Jun 2, 2020 https://github.com/python/cpython/pull/20576/commits/6304beea9f4fc68c37ca914b02bf5b842013a89f
948779a 📜🤖 Added by blurb_it. blurb-it[bot] Jun 2, 2020 https://github.com/python/cpython/pull/20576/commits/948779a607c0730a4398c9e6fc166a7d737f07b2
3b59071 Merge branch 'master' into feature/39791-resources-files jaraco Jun 5, 2020 https://github.com/python/cpython/pull/20576/commits/3b59071f82737ca77b3803e677f8966194f37c38
e4d05ef Move 'files' into the ResourceReader so it can carry the relevant mod… jaraco Jun 6, 2020 https://github.com/python/cpython/pull/20576/commits/e4d05ef8a4b615a37dd7a55bcb6fa9424297ddeb
e40ad3f Create 'importlib.readers' module and add FileReader to it. jaraco Jun 6, 2020 https://github.com/python/cpython/pull/20576/commits/e40ad3f34ec689afc0f3a83af31e9d58298d1fb0
5ad02bf Add zip reader and rely on it for a TraversableResources object on zi… jaraco Jun 6, 2020 https://github.com/python/cpython/pull/20576/commits/5ad02bf4189ccdaf8867e176826057532bb5e7c6
3efe34b Remove TraversableAdapter, no longer needed. jaraco Jun 6, 2020 https://github.com/python/cpython/pull/20576/commits/3efe34bd41c8d95af2addb5e562e5c241b82cabe
10bed14 Update blurb. jaraco Jun 6, 2020 https://github.com/python/cpython/pull/20576/commits/10bed1437703540fca1fd5ed74f1475c1da54e32
c44661b Replace backslashes with forward slashes. jaraco Jun 6, 2020 https://github.com/python/cpython/pull/20576/commits/c44661b1fe5edf83134fa3fc39c38bcbf53bc941
2c5755a Incorporate changes from importlib_metadata 2.0, finalizing the inter… jaraco Jun 8, 2020 https://github.com/python/cpython/pull/20576/commits/2c5755ab092bc52d8e0347ff380288b73529f293
Clear filters https://github.com/python/cpython/pull/20576/files
Please reload this pagehttps://github.com/python/cpython/pull/20576/files
Please reload this pagehttps://github.com/python/cpython/pull/20576/files
_bootstrap_external.py https://github.com/python/cpython/pull/20576/files#diff-efefe383b3a81d16150c280db0b64eed7569254299418f64cc0d749f8e16f3a4
_common.py https://github.com/python/cpython/pull/20576/files#diff-1ef5ecbe5a3ea8b796cb8a134dd6ae4f8f3bc5f208b987145b27650b37d774d9
abc.py https://github.com/python/cpython/pull/20576/files#diff-f3e6ca7132200b34d6d4bdd7799b8b8270a33bd59945e034b50427893a2a9ca3
readers.py https://github.com/python/cpython/pull/20576/files#diff-cdb5055aed621b7f99173a056cf6dd8246a187b950ef608fdadb33193a20191f
resources.py https://github.com/python/cpython/pull/20576/files#diff-b5f6dc7e442a38699664db6f9be914f60cdfbd1ee1f97eff87a6b873bff4aaeb
zipimport.py https://github.com/python/cpython/pull/20576/files#diff-0ab01fa6f64b682ece9d2ebacbdada9f8c559116d01f5ab6c7736ce0c5569ec9
2020-06-02-02-16-02.bpo-39791.StCJlA.rst https://github.com/python/cpython/pull/20576/files#diff-156647185376d67701f93f6604f0fab53aece65ffe37101235faaf50b286d004
importlib_external.h https://github.com/python/cpython/pull/20576/files#diff-edaa85591e6f559d0fae8073b45dc3e9c8e251053d07623b2ce23392dfe97a7e
importlib_zipimport.h https://github.com/python/cpython/pull/20576/files#diff-885727a7f2320fa6a12abd49340cc1f516bc5e1bb4fdcb211da1e06e783adeef
Lib/importlib/_bootstrap_external.pyhttps://github.com/python/cpython/pull/20576/files#diff-efefe383b3a81d16150c280db0b64eed7569254299418f64cc0d749f8e16f3a4
View file https://github.com/python/cpython/blob/2c5755ab092bc52d8e0347ff380288b73529f293/Lib/importlib/_bootstrap_external.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20576/{{ revealButtonHref }}
https://github.com/python/cpython/pull/20576/files#diff-efefe383b3a81d16150c280db0b64eed7569254299418f64cc0d749f8e16f3a4
https://github.com/python/cpython/pull/20576/files#diff-efefe383b3a81d16150c280db0b64eed7569254299418f64cc0d749f8e16f3a4
Lib/importlib/_common.pyhttps://github.com/python/cpython/pull/20576/files#diff-1ef5ecbe5a3ea8b796cb8a134dd6ae4f8f3bc5f208b987145b27650b37d774d9
View file https://github.com/python/cpython/blob/2c5755ab092bc52d8e0347ff380288b73529f293/Lib/importlib/_common.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20576/{{ revealButtonHref }}
https://github.com/python/cpython/pull/20576/files#diff-1ef5ecbe5a3ea8b796cb8a134dd6ae4f8f3bc5f208b987145b27650b37d774d9
Lib/importlib/abc.pyhttps://github.com/python/cpython/pull/20576/files#diff-f3e6ca7132200b34d6d4bdd7799b8b8270a33bd59945e034b50427893a2a9ca3
View file https://github.com/python/cpython/blob/2c5755ab092bc52d8e0347ff380288b73529f293/Lib/importlib/abc.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20576/{{ revealButtonHref }}
https://github.com/python/cpython/pull/20576/files#diff-f3e6ca7132200b34d6d4bdd7799b8b8270a33bd59945e034b50427893a2a9ca3
Lib/importlib/readers.pyhttps://github.com/python/cpython/pull/20576/files#diff-cdb5055aed621b7f99173a056cf6dd8246a187b950ef608fdadb33193a20191f
View file https://github.com/python/cpython/blob/2c5755ab092bc52d8e0347ff380288b73529f293/Lib/importlib/readers.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20576/{{ revealButtonHref }}
jaracohttps://github.com/jaraco
Jun 6, 2020https://github.com/python/cpython/pull/20576/files#r436278680
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/20576/files
Lib/importlib/resources.pyhttps://github.com/python/cpython/pull/20576/files#diff-b5f6dc7e442a38699664db6f9be914f60cdfbd1ee1f97eff87a6b873bff4aaeb
View file https://github.com/python/cpython/blob/2c5755ab092bc52d8e0347ff380288b73529f293/Lib/importlib/resources.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20576/{{ revealButtonHref }}
https://github.com/python/cpython/pull/20576/files#diff-b5f6dc7e442a38699664db6f9be914f60cdfbd1ee1f97eff87a6b873bff4aaeb
https://github.com/python/cpython/pull/20576/files#diff-b5f6dc7e442a38699664db6f9be914f60cdfbd1ee1f97eff87a6b873bff4aaeb
https://github.com/python/cpython/pull/20576/files#diff-b5f6dc7e442a38699664db6f9be914f60cdfbd1ee1f97eff87a6b873bff4aaeb
https://github.com/python/cpython/pull/20576/files#diff-b5f6dc7e442a38699664db6f9be914f60cdfbd1ee1f97eff87a6b873bff4aaeb
https://github.com/python/cpython/pull/20576/files#diff-b5f6dc7e442a38699664db6f9be914f60cdfbd1ee1f97eff87a6b873bff4aaeb
https://github.com/python/cpython/pull/20576/files#diff-b5f6dc7e442a38699664db6f9be914f60cdfbd1ee1f97eff87a6b873bff4aaeb
https://github.com/python/cpython/pull/20576/files#diff-b5f6dc7e442a38699664db6f9be914f60cdfbd1ee1f97eff87a6b873bff4aaeb
Please reload this pagehttps://github.com/python/cpython/pull/20576/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.