René's URL Explorer Experiment


Title: ZipFile.open() should not reopen the underlying file · Issue #58307 · python/cpython · GitHub

Open Graph Title: ZipFile.open() should not reopen the underlying file · Issue #58307 · python/cpython

X Title: ZipFile.open() should not reopen the underlying file · Issue #58307 · python/cpython

Description: BPO 14099 Nosy @loewis, @pitrou, @larryhastings, @benjaminp, @mcepl, @merwok, @bitdancer, @dw, @serhiy-storchaka, @eryksun Files Proposed-fix-of-issue14099.patch: proposed fix, against latest source treeProposed-fix-of-issue14099-second....

Open Graph Description: BPO 14099 Nosy @loewis, @pitrou, @larryhastings, @benjaminp, @mcepl, @merwok, @bitdancer, @dw, @serhiy-storchaka, @eryksun Files Proposed-fix-of-issue14099.patch: proposed fix, against latest sourc...

X Description: BPO 14099 Nosy @loewis, @pitrou, @larryhastings, @benjaminp, @mcepl, @merwok, @bitdancer, @dw, @serhiy-storchaka, @eryksun Files Proposed-fix-of-issue14099.patch: proposed fix, against latest sourc...

Opengraph URL: https://github.com/python/cpython/issues/58307

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ZipFile.open() should not reopen the underlying file","articleBody":"BPO | [14099](https://bugs.python.org/issue14099)\n--- | :---\nNosy | @loewis, @pitrou, @larryhastings, @benjaminp, @mcepl, @merwok, @bitdancer, @dw, @serhiy-storchaka, @eryksun\nFiles | \u003cli>[Proposed-fix-of-issue14099.patch](https://bugs.python.org/file24617/Proposed-fix-of-issue14099.patch \"Uploaded as text/plain at 2012-02-23.18:50:31 by kasal\"): proposed fix, against latest source tree\u003c/li>\u003cli>[Proposed-fix-of-issue14099-second.patch](https://bugs.python.org/file24624/Proposed-fix-of-issue14099-second.patch \"Uploaded as text/plain at 2012-02-24.08:48:40 by kasal\"): Updated patch\u003c/li>\u003cli>[zipfile_concurrent_read_1.diff](https://bugs.python.org/file37191/zipfile_concurrent_read_1.diff \"Uploaded as text/plain at 2014-11-13.18:53:02 by @dw\"): Draft patch (from dw) against 524a004e93dd\u003c/li>\u003cli>[zipfile_share_file.patch](https://bugs.python.org/file37197/zipfile_share_file.patch \"Uploaded as text/plain at 2014-11-14.20:03:03 by @serhiy-storchaka\")\u003c/li>\u003cli>[bench_zip.py](https://bugs.python.org/file37198/bench_zip.py \"Uploaded as text/plain at 2014-11-14.20:04:29 by @serhiy-storchaka\")\u003c/li>\u003cli>[zipfile_tellable.patch](https://bugs.python.org/file37732/zipfile_tellable.patch \"Uploaded as text/plain at 2015-01-16.19:35:04 by @serhiy-storchaka\"): Support tellable but unseekable files in ZipFile.writestr()\u003c/li>\u003cli>[zipfile_threadsafe.patch](https://bugs.python.org/file37733/zipfile_threadsafe.patch \"Uploaded as text/plain at 2015-01-16.19:37:36 by @serhiy-storchaka\"): Makes ZipFile threadsafe\u003c/li>\n\n\u003csup>*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup>\n\n\u003cdetails>\u003csummary>Show more details\u003c/summary>\u003cp>\n\nGitHub fields:\n```python\nassignee = 'https://github.com/serhiy-storchaka'\nclosed_at = \u003cDate 2015-01-26.12:05:57.524>\ncreated_at = \u003cDate 2012-02-23.10:46:31.740>\nlabels = ['type-bug', 'library']\ntitle = 'ZipFile.open() should not reopen the underlying file'\nupdated_at = \u003cDate 2015-02-05.21:24:35.655>\nuser = 'https://bugs.python.org/kasal'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2015-02-05.21:24:35.655>\nactor = 'eryksun'\nassignee = 'serhiy.storchaka'\nclosed = True\nclosed_date = \u003cDate 2015-01-26.12:05:57.524>\ncloser = 'serhiy.storchaka'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2012-02-23.10:46:31.740>\ncreator = 'kasal'\ndependencies = []\nfiles = ['24617', '24624', '37191', '37197', '37198', '37732', '37733']\nhgrepos = []\nissue_num = 14099\nkeywords = ['patch']\nmessage_count = 30.0\nmessages = ['154058', '154077', '154110', '154123', '176844', '176853', '176855', '176857', '176858', '176859', '231132', '231181', '231191', '231473', '231475', '231918', '232032', '232035', '232048', '232055', '232068', '232070', '233553', '234142', '234143', '234146', '234735', '234736', '235183', '235453']\nnosy_count = 17.0\nnosy_names = ['loewis', 'alanmcintyre', 'pitrou', 'ocean-city', 'larry', 'benjamin.peterson', 'mcepl', 'durin42', 'eric.araujo', 'Arfrever', 'r.david.murray', 'python-dev', 'Matt.Mackall', 'kasal', 'dw', 'serhiy.storchaka', 'eryksun']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue14099'\nversions = ['Python 3.5']\n```\n\n\u003c/p>\u003c/details>\n","author":{"url":null,"@type":"Person","name":"kasal"},"datePublished":"2012-02-23T10:46:32Z","url":"https://github.com/python/cpython/issues/58307"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d98228c0-6658-992c-26b9-e712a20f6837
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC1CC:2AF0D8:C987C0:FC967C:6B02289F
html-safe-nonce671d7cb7f236e5f2267860ec981645c2874ad18a0633aa6de56e5cbcb2d63264
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUNDOjJBRjBEODpDOTg3QzA6RkM5NjdDOjZCMDIyODlGIiwidmlzaXRvcl9pZCI6Ijg1MjIwOTkwNDcwOTg2MjQxNTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb45fd1e3d27eb32db7f766d138f01c39091adb4edde340b1e1411cdfe36023b7
hovercard-subject-tagissue:1198878053
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/58307/issue_layout
twitter:imagehttps://opengraph.githubassets.com/76b78fb5a26f1c3303825f256c0a327cab268a7f9cb54c94d2c839324623a3c7/python/cpython/issues/58307
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/76b78fb5a26f1c3303825f256c0a327cab268a7f9cb54c94d2c839324623a3c7/python/cpython/issues/58307
og:image:altBPO 14099 Nosy @loewis, @pitrou, @larryhastings, @benjaminp, @mcepl, @merwok, @bitdancer, @dw, @serhiy-storchaka, @eryksun Files Proposed-fix-of-issue14099.patch: proposed fix, against latest sourc...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekasal
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/58307#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F58307
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%2Fissues%2F58307
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/58307
Reloadhttps://github.com/python/cpython/issues/58307
Reloadhttps://github.com/python/cpython/issues/58307
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
https://github.com/python/cpython
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/58307
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/58307
ZipFile.open() should not reopen the underlying filehttps://github.com/python/cpython/issues/58307#top
https://github.com/serhiy-storchaka
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
on Feb 23, 2012https://github.com/python/cpython/issues/58307#issue-1198878053
14099https://bugs.python.org/issue14099
@loewishttps://github.com/loewis
@pitrouhttps://github.com/pitrou
@larryhastingshttps://github.com/larryhastings
@benjaminphttps://github.com/benjaminp
@mceplhttps://github.com/mcepl
@merwokhttps://github.com/merwok
@bitdancerhttps://github.com/bitdancer
@dwhttps://github.com/dw
@serhiy-storchakahttps://github.com/serhiy-storchaka
@eryksunhttps://github.com/eryksun
Proposed-fix-of-issue14099.patchhttps://bugs.python.org/file24617/Proposed-fix-of-issue14099.patch
Proposed-fix-of-issue14099-second.patchhttps://bugs.python.org/file24624/Proposed-fix-of-issue14099-second.patch
zipfile_concurrent_read_1.diffhttps://bugs.python.org/file37191/zipfile_concurrent_read_1.diff
zipfile_share_file.patchhttps://bugs.python.org/file37197/zipfile_share_file.patch
bench_zip.pyhttps://bugs.python.org/file37198/bench_zip.py
zipfile_tellable.patchhttps://bugs.python.org/file37732/zipfile_tellable.patch
zipfile_threadsafe.patchhttps://bugs.python.org/file37733/zipfile_threadsafe.patch
Nexthttps://github.com/python/cpython/issues/58307?timeline_page=1
on Feb 23, 2012https://github.com/python/cpython/issues/58307#issuecomment-1093571118
performancePerformance or resource usagehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22performance%22
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
on Feb 23, 2012https://github.com/python/cpython/issues/58307#event-6403022215
on Feb 23, 2012https://github.com/python/cpython/issues/58307#issuecomment-1093571119
https://github.com/merwok
merwokhttps://github.com/merwok
on Feb 24, 2012https://github.com/python/cpython/issues/58307#issuecomment-1093571120
merwokhttps://github.com/merwok
on Feb 24, 2012https://github.com/python/cpython/issues/58307#event-6403022217
merwokhttps://github.com/merwok
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
performancePerformance or resource usagehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22performance%22
on Feb 24, 2012https://github.com/python/cpython/issues/58307#event-6403022218
on Feb 24, 2012https://github.com/python/cpython/issues/58307#issuecomment-1093571122
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
on Dec 3, 2012https://github.com/python/cpython/issues/58307#issuecomment-1093571124
bpo-10631https://bugs.python.org/issue?@action=redirect&bpo=10631
bpo-16569https://bugs.python.org/issue?@action=redirect&bpo=16569
on Dec 3, 2012https://github.com/python/cpython/issues/58307#issuecomment-1093571126
bpo-16569https://bugs.python.org/issue?@action=redirect&bpo=16569
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
on Dec 3, 2012https://github.com/python/cpython/issues/58307#issuecomment-1093571128
on Dec 3, 2012https://github.com/python/cpython/issues/58307#issuecomment-1093571129
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
on Dec 3, 2012https://github.com/python/cpython/issues/58307#issuecomment-1093571130
bpo-10376https://bugs.python.org/issue?@action=redirect&bpo=10376
bpo-16304https://bugs.python.org/issue?@action=redirect&bpo=16304
bpo-8745https://bugs.python.org/issue?@action=redirect&bpo=8745
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
on Dec 3, 2012https://github.com/python/cpython/issues/58307#issuecomment-1093571131
bpo-16304https://bugs.python.org/issue?@action=redirect&bpo=16304
bpo-16034https://bugs.python.org/issue?@action=redirect&bpo=16034
on Dec 2, 2014https://github.com/python/cpython/issues/58307#issuecomment-1093571142
on Dec 3, 2014https://github.com/python/cpython/issues/58307#issuecomment-1093571144
bpo-14099https://bugs.python.org/issue?@action=redirect&bpo=14099
https://hg.python.org/cpython/rev/c2c4cde55f6fhttps://hg.python.org/cpython/rev/c2c4cde55f6f
bpo-14099https://bugs.python.org/issue?@action=redirect&bpo=14099
https://hg.python.org/cpython/rev/e5bb3044402bhttps://hg.python.org/cpython/rev/e5bb3044402b
bpo-14099https://bugs.python.org/issue?@action=redirect&bpo=14099
https://hg.python.org/cpython/rev/334c01aa7f93https://hg.python.org/cpython/rev/334c01aa7f93
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
on Dec 3, 2014https://github.com/python/cpython/issues/58307#issuecomment-1093571146
serhiy-storchakahttps://github.com/serhiy-storchaka
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Dec 3, 2014https://github.com/python/cpython/issues/58307#event-6403022221
on Jan 6, 2015https://github.com/python/cpython/issues/58307#issuecomment-1093571147
http://bz.selenic.com/show_bug.cgi?id=4492http://bz.selenic.com/show_bug.cgi?id=4492
serhiy-storchakahttps://github.com/serhiy-storchaka
on Jan 7, 2015https://github.com/python/cpython/issues/58307#event-6403022222
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
on Jan 16, 2015https://github.com/python/cpython/issues/58307#issuecomment-1093571148
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
on Jan 16, 2015https://github.com/python/cpython/issues/58307#issuecomment-1093571149
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
on Jan 16, 2015https://github.com/python/cpython/issues/58307#issuecomment-1093571150
bpo-23252https://bugs.python.org/issue?@action=redirect&bpo=23252
on Jan 26, 2015https://github.com/python/cpython/issues/58307#issuecomment-1093571151
bpo-14099https://bugs.python.org/issue?@action=redirect&bpo=14099
https://hg.python.org/cpython/rev/ae42c4576438https://hg.python.org/cpython/rev/ae42c4576438
bpo-14099https://bugs.python.org/issue?@action=redirect&bpo=14099
https://hg.python.org/cpython/rev/680b47c96e08https://hg.python.org/cpython/rev/680b47c96e08
bpo-14099https://bugs.python.org/issue?@action=redirect&bpo=14099
https://hg.python.org/cpython/rev/4973ccd46e32https://hg.python.org/cpython/rev/4973ccd46e32
bpo-14099https://bugs.python.org/issue?@action=redirect&bpo=14099
https://hg.python.org/cpython/rev/9cbf9f96920dhttps://hg.python.org/cpython/rev/9cbf9f96920d
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
on Jan 26, 2015https://github.com/python/cpython/issues/58307#issuecomment-1093571152
serhiy-storchakahttps://github.com/serhiy-storchaka
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jan 26, 2015https://github.com/python/cpython/issues/58307#event-6403022223
on Feb 1, 2015https://github.com/python/cpython/issues/58307#issuecomment-1093571155
https://hg.python.org/cpython/rev/4f96e9a8eee8https://hg.python.org/cpython/rev/4f96e9a8eee8
https://github.com/eryksun
eryksunhttps://github.com/eryksun
on Feb 5, 2015https://github.com/python/cpython/issues/58307#issuecomment-1093571156
ezio-melottihttps://github.com/ezio-melotti
https://github.com/python/cpython/issues/undefined
on Apr 10, 2022https://github.com/python/cpython/issues/58307#event-6403022226
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/58307
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/58307
serhiy-storchakahttps://github.com/serhiy-storchaka
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
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.