René's URL Explorer Experiment


Title: bpo-41490: ``path`` and ``contents`` to aggressively close handles by jaraco · Pull Request #22915 · python/cpython · GitHub

Open Graph Title: bpo-41490: ``path`` and ``contents`` to aggressively close handles by jaraco · Pull Request #22915 · python/cpython

X Title: bpo-41490: ``path`` and ``contents`` to aggressively close handles by jaraco · Pull Request #22915 · python/cpython

Description: As found in importlib_resources 3.1.1. https://bugs.python.org/issue41490 Automerge-Triggered-By: GH:jaraco

Open Graph Description: As found in importlib_resources 3.1.1. https://bugs.python.org/issue41490 Automerge-Triggered-By: GH:jaraco

X Description: As found in importlib_resources 3.1.1. https://bugs.python.org/issue41490 Automerge-Triggered-By: GH:jaraco

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllerpull_requests
route-actionfiles
fetch-noncev2:935767a1-84df-1709-9b6d-4a9a3703a1ea
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8B18:9EA06:626690:8A9FF3:6B007B8C
html-safe-noncecda0b145ece4e79f673bd17308cfd9bcbd04d6105160fba70a47c18092be8cd4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjE4OjlFQTA2OjYyNjY5MDo4QTlGRjM6NkIwMDdCOEMiLCJ2aXNpdG9yX2lkIjoiNDE4NjI1NTg0Mjk2Nzg0NTc3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3529545b5714d682826387ca5a1272a851af5a7b8973d8c60b23a1662a3375e0
hovercard-subject-tagpull_request:508947417
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/22915/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:altAs found in importlib_resources 3.1.1. https://bugs.python.org/issue41490 Automerge-Triggered-By: GH:jaraco
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None82c186f13e104004ab7bdb779f3195e59dd38bfde531aaa74b76470fc2462b83
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
released1bc2aa1939001689f5ce935982c10a6138f745c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/22915/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F22915%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F22915%2Ffiles
Sign uphttps://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/22915/files
Reloadhttps://github.com/python/cpython/pull/22915/files
Reloadhttps://github.com/python/cpython/pull/22915/files
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
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/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 pagehttps://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 pagehttps://github.com/python/cpython/pull/22915/files
Please reload this pagehttps://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.pyhttps://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.pyhttps://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.pyhttps://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.pyhttps://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
jaracohttps://github.com/jaraco
Oct 23, 2020https://github.com/python/cpython/pull/22915/files#r510980041
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/22915/files
zoobahttps://github.com/zooba
Oct 23, 2020https://github.com/python/cpython/pull/22915/files#r511098193
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/22915/files
jaracohttps://github.com/jaraco
Oct 23, 2020https://github.com/python/cpython/pull/22915/files#r511167229
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/22915/files
Lib/test/test_importlib/zipdata01/ziptestdata.ziphttps://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.ziphttps://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.rsthttps://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
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.