| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8a2291db-81e6-9d3e-7934-85ac09ae1691 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A3AA:3F11E1:DBB031:12A39F5:6A4C5CDC |
| html-safe-nonce | 3a9fcb22313bef9bee44ae52ff542018e9ee29e4577c1925effa16610c3808a2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0FBOjNGMTFFMTpEQkIwMzE6MTJBMzlGNTo2QTRDNUNEQyIsInZpc2l0b3JfaWQiOiI4ODI1ODA0NTU5NzczMDk3MTgwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5f2da2a8c9ecb022f5e0d7ca3a83132259616de337f4c63a630579ae812764fc |
| hovercard-subject-tag | pull_request:158809028 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/4911/files |
| twitter:image | https://avatars.githubusercontent.com/u/210184?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/210184?s=400&v=4 |
| og:image:alt | This ports importlib_resources to the stdlib as importlib.resource. This includes documentation and tests.
I think we should do the ResourceReader implementation as a separate branch.
https://bug... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 14099438da5379150f15a2892474c7c7e6c0e55e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/4911/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F4911%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F4911%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 |
| Reload | https://github.com/python/cpython/pull/4911/files |
| Reload | https://github.com/python/cpython/pull/4911/files |
| Reload | https://github.com/python/cpython/pull/4911/files |
| Please reload this page | https://github.com/python/cpython/pull/4911/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/4911/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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| warsaw | https://github.com/warsaw |
| python:master | https://github.com/python/cpython/tree/master |
| warsaw:issue32248 | https://github.com/warsaw/cpython/tree/issue32248 |
|
Conversation
57
| https://github.com/python/cpython/pull/4911 |
|
Commits
18
| https://github.com/python/cpython/pull/4911/commits |
|
Checks
0
| https://github.com/python/cpython/pull/4911/checks |
|
Files changed
| https://github.com/python/cpython/pull/4911/files |
| Please reload this page | https://github.com/python/cpython/pull/4911/files |
|
bpo-32248 - Implement importlib.resources
| https://github.com/python/cpython/pull/4911/files#top |
|
Show all changes
18 commits
| https://github.com/python/cpython/pull/4911/files |
|
19fab84
Port importlib_resources to importlib.resources
warsaw Dec 17, 2017
| https://github.com/python/cpython/pull/4911/commits/19fab842d544acda45e465deb1eda35c28667b11 |
|
ebed26a
Port importlib_resources to importlib.resources
warsaw Dec 17, 2017
| https://github.com/python/cpython/pull/4911/commits/ebed26a9bbc751d9eb04821606412c38724bf483 |
|
e8e84f4
Merge branch 'issue32248' of github.com:warsaw/cpython into issue32248
warsaw Dec 17, 2017
| https://github.com/python/cpython/pull/4911/commits/e8e84f472c8a9fd3d7a07522289f701c4efe9e64 |
|
7ffc7dc
Update blurb
warsaw Dec 17, 2017
| https://github.com/python/cpython/pull/4911/commits/7ffc7dcdeb3cf2e30fcb4e7d20968451f3881240 |
|
0da9744
Port the documentation
warsaw Dec 17, 2017
| https://github.com/python/cpython/pull/4911/commits/0da9744fb5b2d6b7fef9829ddd688188f2c6f486 |
|
871367d
Add a What's New for importlib.resources
warsaw Dec 17, 2017
| https://github.com/python/cpython/pull/4911/commits/871367d32d1e239d1696db277df284db2e2b5087 |
|
d41bac3
Clean up
warsaw Dec 17, 2017
| https://github.com/python/cpython/pull/4911/commits/d41bac368765df1a3a491f526d26a5fa4916799c |
|
d7ec339
Fix two typos
warsaw Dec 18, 2017
| https://github.com/python/cpython/pull/4911/commits/d7ec3391758e514d1905f8b5c9ed635bdb775ab1 |
|
08859e2
Fix another typo from a previous branch
warsaw Dec 18, 2017
| https://github.com/python/cpython/pull/4911/commits/08859e275d0fc8aa51f990ae8e89fcf77af42908 |
|
0fcc0c9
Merge branch 'master' into issue32248
warsaw Dec 26, 2017
| https://github.com/python/cpython/pull/4911/commits/0fcc0c912c95e4ddffa2055a649c35708c9936bb |
|
05353ed
Respond to review
warsaw Dec 27, 2017
| https://github.com/python/cpython/pull/4911/commits/05353ed5fe55402ae49e41cba1008fe9c18a3d44 |
|
4085c9c
Merge branch 'master' into issue32248
warsaw Dec 28, 2017
| https://github.com/python/cpython/pull/4911/commits/4085c9c4a503f42854e94ebfd1490c9ea4ecacd0 |
|
e143941
Use data:: for types as per typing.rst
warsaw Dec 28, 2017
| https://github.com/python/cpython/pull/4911/commits/e143941a10d64285ff0bfed2812016509523efaa |
|
cc28abb
Merge branch 'master' into issue32248
warsaw Dec 29, 2017
| https://github.com/python/cpython/pull/4911/commits/cc28abb8c0cf130a6860399128b208901c2c507d |
|
3607846
This is 3.7 so we can use Path.resolve()
warsaw Dec 29, 2017
| https://github.com/python/cpython/pull/4911/commits/360784621da2a903aa8e7d5114469782b69d118c |
|
1205e2a
A couple of last minute review comments
warsaw Dec 29, 2017
| https://github.com/python/cpython/pull/4911/commits/1205e2a0f7808699996f9792d5d09f3ae652806a |
|
1a68c68
Revert "This is 3.7 so we can use Path.resolve()"
warsaw Dec 30, 2017
| https://github.com/python/cpython/pull/4911/commits/1a68c681da31a9e15c6120a9b803b6cb92a96a7f |
|
535da74
Remove some obsolete comments
warsaw Dec 30, 2017
| https://github.com/python/cpython/pull/4911/commits/535da74df982bb2a702bb699c8553bef9c61a573 |
|
Clear filters
| https://github.com/python/cpython/pull/4911/files |
| Please reload this page | https://github.com/python/cpython/pull/4911/files |
| Please reload this page | https://github.com/python/cpython/pull/4911/files |
|
importlib.rst
| https://github.com/python/cpython/pull/4911/files#diff-023b9cd2ff76dd1b2a7117a363f1789d5d192c09d632872934b86e8d3fbe5f3e |
|
3.7.rst
| https://github.com/python/cpython/pull/4911/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52 |
|
resources.py
| https://github.com/python/cpython/pull/4911/files#diff-b5f6dc7e442a38699664db6f9be914f60cdfbd1ee1f97eff87a6b873bff4aaeb |
|
__init__.py
| https://github.com/python/cpython/pull/4911/files#diff-3e21f674f6e7c6c69a38fcfb2b2dc402dbcb8c1df3bafbf44f69b77684fc21ac |
|
binary.file
| https://github.com/python/cpython/pull/4911/files#diff-4cb26496c8bd0ea733191037000a0478b1466f6b0270ea9de4d10755f91a41a8 |
|
__init__.py
| https://github.com/python/cpython/pull/4911/files#diff-b09d0c848b67566464eb61e230f2b730549fe31b05b7f7c20dde94f63aaa8cfe |
|
binary.file
| https://github.com/python/cpython/pull/4911/files#diff-140e61c347e90c37da71e2e7023dfdd01527c5cb99a78ce34778fb79af411540 |
|
utf-16.file
| https://github.com/python/cpython/pull/4911/files#diff-49948331bd2c509d5f7c7c3d7101dbd80ccfb13f764271e86a720ee30c486bf7 |
|
utf-8.file
| https://github.com/python/cpython/pull/4911/files#diff-0ddf5a622d3cab9a7f8a69d01df75ffbfc85284497a4892ea42afe819a73e158 |
|
__init__.py
| https://github.com/python/cpython/pull/4911/files#diff-7bb3834526c03f03a88185286c159760e3817b8dd144c56d9a3ccc33bcbc06a8 |
|
__init__.py
| https://github.com/python/cpython/pull/4911/files#diff-72841680cee4ce189829417ae5df47561786a8aa1a9b8547401e65c63e1dc22c |
|
resource1.txt
| https://github.com/python/cpython/pull/4911/files#diff-36fb25adffe45f9d715ff0f3266e28742821bb4749c0054a089bb66b181ea379 |
|
__init__.py
| https://github.com/python/cpython/pull/4911/files#diff-99b911ca54d93a5ce9d35adac6e9315f2b9c14762cbb38fdb45822caed448673 |
|
resource2.txt
| https://github.com/python/cpython/pull/4911/files#diff-033a8fafd9ccb1b911fab76e67287fa33068710d2b84bb098d51370befbafdca |
|
__init__.py
| https://github.com/python/cpython/pull/4911/files#diff-f6b9a5e037b6f056319e54a3cfe9f6409831d35a6d665706a3b819f253ba6100 |
|
__init__.py
| https://github.com/python/cpython/pull/4911/files#diff-f1ae9e630ea96fda4228cdb6eeb62d96d0da6b8b6c698732bc854c37e377cda8 |
|
__init__.py
| https://github.com/python/cpython/pull/4911/files#diff-d294928a8a6364bd9951ea38fff630efaf1660b2a05c7598eb2115de40d9e6fc |
|
resource1.txt
| https://github.com/python/cpython/pull/4911/files#diff-c4b34c7509c5adb2f9121740c110b19682899224f6e190097d976517a120aedc |
|
test_open.py
| https://github.com/python/cpython/pull/4911/files#diff-995b2f0ccf21600c842b3e352677d8385b3794945b82b87a4e19d96d57dc4770 |
|
test_path.py
| https://github.com/python/cpython/pull/4911/files#diff-62a60e9d508527476e4e405a250e49e255d1f0f04cd384606ab83a82f74b7de5 |
|
test_read.py
| https://github.com/python/cpython/pull/4911/files#diff-9d8f3a0e8435b3d38e3e59ac60c3f41fabcaaff74747520374c1c6e8fa55e89a |
|
test_resource.py
| https://github.com/python/cpython/pull/4911/files#diff-6f090a429cf0c41f3f6556b2b0ae83816fe497d056842af75f8eef81a6b414dd |
|
util.py
| https://github.com/python/cpython/pull/4911/files#diff-cf049d6640b726c9ac283091e9c41e52434c770bcd2efb92eb64bdd6e2816d5a |
|
__init__.py
| https://github.com/python/cpython/pull/4911/files#diff-5fd9046cb4834d3188181c6dc8013d5dfd49dd0e640119fae3ed14b460d6684b |
|
ziptestdata.zip
| https://github.com/python/cpython/pull/4911/files#diff-049b561b66b9bb170ceada2fd95d91e78f96f5a0f56b06767a9613b2a11ed56f |
|
__init__.py
| https://github.com/python/cpython/pull/4911/files#diff-b3daffc97c344ac2ff49f64b593ff75c534546a18b23171c559a5f45223cbd8c |
|
ziptestdata.zip
| https://github.com/python/cpython/pull/4911/files#diff-b4db46cc735a447e88e8ff2417d6d0900552c5614a6a03a4136324af1c1cf981 |
|
2017-12-15-15-34-12.bpo-32248.zmO8G2.rst
| https://github.com/python/cpython/pull/4911/files#diff-6afa50f4ace8a20f28ffbb82332f3baaba133139eadb1745c7c2fba921cd85dc |
| Doc/library/importlib.rst | https://github.com/python/cpython/pull/4911/files#diff-023b9cd2ff76dd1b2a7117a363f1789d5d192c09d632872934b86e8d3fbe5f3e |
|
View file
| https://github.com/warsaw/cpython/blob/535da74df982bb2a702bb699c8553bef9c61a573/Doc/library/importlib.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4911/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4911/files#diff-023b9cd2ff76dd1b2a7117a363f1789d5d192c09d632872934b86e8d3fbe5f3e |
|
| https://github.com/python/cpython/pull/4911/files#diff-023b9cd2ff76dd1b2a7117a363f1789d5d192c09d632872934b86e8d3fbe5f3e |
|
| https://github.com/python/cpython/pull/4911/files#diff-023b9cd2ff76dd1b2a7117a363f1789d5d192c09d632872934b86e8d3fbe5f3e |
| merwok | https://github.com/merwok |
| Dec 29, 2017 | https://github.com/python/cpython/pull/4911/files#r159021909 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4911/files |
| warsaw | https://github.com/warsaw |
| Dec 29, 2017 | https://github.com/python/cpython/pull/4911/files#r159071417 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4911/files |
|
| https://github.com/python/cpython/pull/4911/files#diff-023b9cd2ff76dd1b2a7117a363f1789d5d192c09d632872934b86e8d3fbe5f3e |
| Doc/whatsnew/3.7.rst | https://github.com/python/cpython/pull/4911/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52 |
|
View file
| https://github.com/warsaw/cpython/blob/535da74df982bb2a702bb699c8553bef9c61a573/Doc/whatsnew/3.7.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4911/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4911/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52 |
| brettcannon | https://github.com/brettcannon |
| Dec 19, 2017 | https://github.com/python/cpython/pull/4911/files#r157884372 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4911/files |
| warsaw | https://github.com/warsaw |
| Dec 27, 2017 | https://github.com/python/cpython/pull/4911/files#r158757746 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4911/files |
|
| https://github.com/python/cpython/pull/4911/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52 |
| Please reload this page | https://github.com/python/cpython/pull/4911/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |