| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:935767a1-84df-1709-9b6d-4a9a3703a1ea |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8B18:9EA06:626690:8A9FF3:6B007B8C |
| html-safe-nonce | cda0b145ece4e79f673bd17308cfd9bcbd04d6105160fba70a47c18092be8cd4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjE4OjlFQTA2OjYyNjY5MDo4QTlGRjM6NkIwMDdCOEMiLCJ2aXNpdG9yX2lkIjoiNDE4NjI1NTg0Mjk2Nzg0NTc3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3529545b5714d682826387ca5a1272a851af5a7b8973d8c60b23a1662a3375e0 |
| hovercard-subject-tag | pull_request:508947417 |
| 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/22915/files |
| twitter:image | https://avatars.githubusercontent.com/u/308610?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/308610?s=400&v=4 |
| og:image:alt | As found in importlib_resources 3.1.1.
https://bugs.python.org/issue41490
Automerge-Triggered-By: GH:jaraco |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 82c186f13e104004ab7bdb779f3195e59dd38bfde531aaa74b76470fc2462b83 |
| 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 | d1bc2aa1939001689f5ce935982c10a6138f745c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/22915/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F22915%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F22915%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/22915/files |
| Reload | https://github.com/python/cpython/pull/22915/files |
| Reload | https://github.com/python/cpython/pull/22915/files |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | 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/insights |
| 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 |
| jaraco | https://github.com/jaraco |
| python:master | https://github.com/python/cpython/tree/master |
|
Conversation
9
| https://github.com/python/cpython/pull/22915 |
|
Commits
4
| https://github.com/python/cpython/pull/22915/commits |
|
Checks
0
| https://github.com/python/cpython/pull/22915/checks |
|
Files changed
| https://github.com/python/cpython/pull/22915/files |
| Please reload this page | https://github.com/python/cpython/pull/22915/files |
|
bpo-41490: path and contents to aggressively close handles
| https://github.com/python/cpython/pull/22915/files#top |
|
Show all changes
4 commits
| https://github.com/python/cpython/pull/22915/files |
|
c9762ae
bpo-41490: ``path`` method to aggressively close handles
jaraco Oct 23, 2020
| https://github.com/python/cpython/pull/22915/commits/c9762ae6b98675c9171a67ce1f7d30d3c9c899f5 |
|
83b2491
Add blurb
jaraco Oct 23, 2020
| https://github.com/python/cpython/pull/22915/commits/83b249161a2feaaf9421f19e37ead0026a8a8c20 |
|
8940901
In ZipReader.contents, eagerly evaluate the contents to release refer…
jaraco Oct 23, 2020
| https://github.com/python/cpython/pull/22915/commits/89409010827d1d82067f964dbb47efda94976cd7 |
|
19bcc9b
Instead use _ensure_sequence to ensure any iterable from a reader is …
jaraco Oct 23, 2020
| https://github.com/python/cpython/pull/22915/commits/19bcc9bf78c0c9d87c6446eb037e522dd9a8e6ea |
|
Clear filters
| https://github.com/python/cpython/pull/22915/files |
| Please reload this page | https://github.com/python/cpython/pull/22915/files |
| Please reload this page | https://github.com/python/cpython/pull/22915/files |
|
_common.py
| https://github.com/python/cpython/pull/22915/files#diff-1ef5ecbe5a3ea8b796cb8a134dd6ae4f8f3bc5f208b987145b27650b37d774d9 |
|
readers.py
| https://github.com/python/cpython/pull/22915/files#diff-cdb5055aed621b7f99173a056cf6dd8246a187b950ef608fdadb33193a20191f |
|
resources.py
| https://github.com/python/cpython/pull/22915/files#diff-b5f6dc7e442a38699664db6f9be914f60cdfbd1ee1f97eff87a6b873bff4aaeb |
|
test_resource.py
| https://github.com/python/cpython/pull/22915/files#diff-6f090a429cf0c41f3f6556b2b0ae83816fe497d056842af75f8eef81a6b414dd |
|
ziptestdata.zip
| https://github.com/python/cpython/pull/22915/files#diff-049b561b66b9bb170ceada2fd95d91e78f96f5a0f56b06767a9613b2a11ed56f |
|
ziptestdata.zip
| https://github.com/python/cpython/pull/22915/files#diff-b4db46cc735a447e88e8ff2417d6d0900552c5614a6a03a4136324af1c1cf981 |
|
2020-10-23-08-54-47.bpo-41490.-Yk6OD.rst
| https://github.com/python/cpython/pull/22915/files#diff-347a9b56262b6123d7b0e1b38da60663cdf3c1a67453db527c6defeaf0164df4 |
| Lib/importlib/_common.py | https://github.com/python/cpython/pull/22915/files#diff-1ef5ecbe5a3ea8b796cb8a134dd6ae4f8f3bc5f208b987145b27650b37d774d9 |
|
View file
| https://github.com/python/cpython/blob/19bcc9bf78c0c9d87c6446eb037e522dd9a8e6ea/Lib/importlib/_common.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/22915/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/22915/files#diff-1ef5ecbe5a3ea8b796cb8a134dd6ae4f8f3bc5f208b987145b27650b37d774d9 |
|
| https://github.com/python/cpython/pull/22915/files#diff-1ef5ecbe5a3ea8b796cb8a134dd6ae4f8f3bc5f208b987145b27650b37d774d9 |
|
| https://github.com/python/cpython/pull/22915/files#diff-1ef5ecbe5a3ea8b796cb8a134dd6ae4f8f3bc5f208b987145b27650b37d774d9 |
| Lib/importlib/readers.py | https://github.com/python/cpython/pull/22915/files#diff-cdb5055aed621b7f99173a056cf6dd8246a187b950ef608fdadb33193a20191f |
|
View file
| https://github.com/python/cpython/blob/19bcc9bf78c0c9d87c6446eb037e522dd9a8e6ea/Lib/importlib/readers.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/22915/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/22915/files#diff-cdb5055aed621b7f99173a056cf6dd8246a187b950ef608fdadb33193a20191f |
|
| https://github.com/python/cpython/pull/22915/files#diff-cdb5055aed621b7f99173a056cf6dd8246a187b950ef608fdadb33193a20191f |
| Lib/importlib/resources.py | https://github.com/python/cpython/pull/22915/files#diff-b5f6dc7e442a38699664db6f9be914f60cdfbd1ee1f97eff87a6b873bff4aaeb |
|
View file
| https://github.com/python/cpython/blob/19bcc9bf78c0c9d87c6446eb037e522dd9a8e6ea/Lib/importlib/resources.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/22915/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/22915/files#diff-b5f6dc7e442a38699664db6f9be914f60cdfbd1ee1f97eff87a6b873bff4aaeb |
|
| https://github.com/python/cpython/pull/22915/files#diff-b5f6dc7e442a38699664db6f9be914f60cdfbd1ee1f97eff87a6b873bff4aaeb |
|
| https://github.com/python/cpython/pull/22915/files#diff-b5f6dc7e442a38699664db6f9be914f60cdfbd1ee1f97eff87a6b873bff4aaeb |
|
| https://github.com/python/cpython/pull/22915/files#diff-b5f6dc7e442a38699664db6f9be914f60cdfbd1ee1f97eff87a6b873bff4aaeb |
|
| https://github.com/python/cpython/pull/22915/files#diff-b5f6dc7e442a38699664db6f9be914f60cdfbd1ee1f97eff87a6b873bff4aaeb |
| Lib/test/test_importlib/test_resource.py | https://github.com/python/cpython/pull/22915/files#diff-6f090a429cf0c41f3f6556b2b0ae83816fe497d056842af75f8eef81a6b414dd |
|
View file
| https://github.com/python/cpython/blob/19bcc9bf78c0c9d87c6446eb037e522dd9a8e6ea/Lib/test/test_importlib/test_resource.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/22915/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/22915/files#diff-6f090a429cf0c41f3f6556b2b0ae83816fe497d056842af75f8eef81a6b414dd |
|
| https://github.com/python/cpython/pull/22915/files#diff-6f090a429cf0c41f3f6556b2b0ae83816fe497d056842af75f8eef81a6b414dd |
| jaraco | https://github.com/jaraco |
| Oct 23, 2020 | https://github.com/python/cpython/pull/22915/files#r510980041 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/22915/files |
| zooba | https://github.com/zooba |
| Oct 23, 2020 | https://github.com/python/cpython/pull/22915/files#r511098193 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/22915/files |
| jaraco | https://github.com/jaraco |
| Oct 23, 2020 | https://github.com/python/cpython/pull/22915/files#r511167229 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/22915/files |
| Lib/test/test_importlib/zipdata01/ziptestdata.zip | https://github.com/python/cpython/pull/22915/files#diff-049b561b66b9bb170ceada2fd95d91e78f96f5a0f56b06767a9613b2a11ed56f |
|
View file
| https://github.com/python/cpython/blob/19bcc9bf78c0c9d87c6446eb037e522dd9a8e6ea/Lib/test/test_importlib/zipdata01/ziptestdata.zip |
|
Open in desktop
| https://desktop.github.com |
| Lib/test/test_importlib/zipdata02/ziptestdata.zip | https://github.com/python/cpython/pull/22915/files#diff-b4db46cc735a447e88e8ff2417d6d0900552c5614a6a03a4136324af1c1cf981 |
|
View file
| https://github.com/python/cpython/blob/19bcc9bf78c0c9d87c6446eb037e522dd9a8e6ea/Lib/test/test_importlib/zipdata02/ziptestdata.zip |
|
Open in desktop
| https://desktop.github.com |
| Misc/NEWS.d/next/Library/2020-10-23-08-54-47.bpo-41490.-Yk6OD.rst | https://github.com/python/cpython/pull/22915/files#diff-347a9b56262b6123d7b0e1b38da60663cdf3c1a67453db527c6defeaf0164df4 |
|
View file
| https://github.com/python/cpython/blob/19bcc9bf78c0c9d87c6446eb037e522dd9a8e6ea/Misc/NEWS.d/next/Library/2020-10-23-08-54-47.bpo-41490.-Yk6OD.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/22915/{{ revealButtonHref }} |
|
| 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 |