René's URL Explorer Experiment


Title: gh-51067: Add `remove()` and `repack()` to `ZipFile` by danny0838 · Pull Request #134627 · python/cpython · GitHub

Open Graph Title: gh-51067: Add `remove()` and `repack()` to `ZipFile` by danny0838 · Pull Request #134627 · python/cpython

X Title: gh-51067: Add `remove()` and `repack()` to `ZipFile` by danny0838 · Pull Request #134627 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: This is a revised version of PR #103033, implementing two new methods in zipfile.ZipFile: remove() and repack(), as suggested in this comment. Features ZipFile.remove(zinfo_or_arcname) Removes a f...

X Description: This is a revised version of PR #103033, implementing two new methods in zipfile.ZipFile: remove() and repack(), as suggested in this comment. Features ZipFile.remove(zinfo_or_arcname) Removes a f...

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:3d0180f1-3a21-a928-f20c-ba6faa917504
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idACD2:25F708:EA0A3D:1372F5A:6A52D12F
html-safe-nonce15722916be3664c1707c4080dfa2da964f28d1b9b0f56b04ac831262a4dff073
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0QyOjI1RjcwODpFQTBBM0Q6MTM3MkY1QTo2QTUyRDEyRiIsInZpc2l0b3JfaWQiOiI3OTMzNjQ4MzczODg1ODgyNjcxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac0bd7ec3408038a199877b10f71c32cfee78066b1cf003d4762ca09eed3a70cd9
hovercard-subject-tagpull_request:2541669210
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/134627/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/72d53e16c43a76b36655a6ad740568817391a92288387a377817775b55cd0a21/python/cpython/pull/134627
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/72d53e16c43a76b36655a6ad740568817391a92288387a377817775b55cd0a21/python/cpython/pull/134627
og:image:altThis is a revised version of PR #103033, implementing two new methods in zipfile.ZipFile: remove() and repack(), as suggested in this comment. Features ZipFile.remove(zinfo_or_arcname) Removes a f...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedanny0838
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
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
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/134627#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F134627
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/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/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/enterprise/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%2F134627
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/134627
Reloadhttps://github.com/python/cpython/pull/134627
Reloadhttps://github.com/python/cpython/pull/134627
Please reload this pagehttps://github.com/python/cpython/pull/134627
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/134627
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k 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
gpsheadhttps://github.com/gpshead
python:mainhttps://github.com/python/cpython/tree/main
danny0838:gh-51067-2https://github.com/danny0838/cpython/tree/gh-51067-2
Conversationhttps://github.com/python/cpython/pull/134627
Commits88 (88)https://github.com/python/cpython/pull/134627/commits
Checkshttps://github.com/python/cpython/pull/134627/checks
Files changedhttps://github.com/python/cpython/pull/134627/files
gh-51067: Add remove() and repack() to ZipFilehttps://github.com/python/cpython/pull/134627#top
gpsheadhttps://github.com/gpshead
python:mainhttps://github.com/python/cpython/tree/main
danny0838:gh-51067-2https://github.com/danny0838/cpython/tree/gh-51067-2
https://github.com/danny0838
danny0838https://github.com/danny0838
May 24, 2025https://github.com/python/cpython/pull/134627#issue-3088381049
Please reload this pagehttps://github.com/python/cpython/pull/134627
PR #103033https://github.com/python/cpython/pull/103033
this commenthttps://github.com/python/cpython/pull/103033#issuecomment-1490705652
#51067 (comment)https://github.com/python/cpython/issues/51067#issuecomment-1093479250
remove/delete method for zipfile objects #51067https://github.com/python/cpython/issues/51067
https://cpython-previews--134627.org.readthedocs.build/https://cpython-previews--134627.org.readthedocs.build/
Please reload this pagehttps://github.com/python/cpython/pull/134627
https://github.com/danny0838
Add remove() and repack() to ZipFilehttps://github.com/python/cpython/pull/134627/commits/6aed859adec5134ab756520c0dc5f7feeae6cab8
6aed859https://github.com/python/cpython/pull/134627/commits/6aed859adec5134ab756520c0dc5f7feeae6cab8
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 24, 2025 https://github.com/python/cpython/pull/134627#ref-issue-1198847724
remove/delete method for zipfile objects #51067 https://github.com/python/cpython/issues/51067
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 24, 2025https://github.com/python/cpython/pull/134627#issuecomment-2906778328
require a NEWS entryhttps://devguide.python.org/core-developers/committing/#updating-news-and-what-s-new-in-python
blurb_ithttps://blurb-it.herokuapp.com
blurbhttps://pypi.org/project/blurb/
Please reload this pagehttps://github.com/python/cpython/pull/134627
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
May 24, 2025https://github.com/python/cpython/pull/134627#event-17799932533
blurb-ithttps://github.com/apps/blurb-it
May 24, 2025 11:17https://github.com/python/cpython/pull/134627#commits-pushed-5453dbc
https://github.com/apps/blurb-it
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/134627/commits/5453dbc0a6ecdf892f36889a928037f4f57d636a
5453dbchttps://github.com/python/cpython/pull/134627/commits/5453dbc0a6ecdf892f36889a928037f4f57d636a
https://github.com/danny0838
Fix and optimize test codehttps://github.com/python/cpython/pull/134627/commits/80ab2e27e4bb63cea3e7aa3c022236a76e05af68
80ab2e2https://github.com/python/cpython/pull/134627/commits/80ab2e27e4bb63cea3e7aa3c022236a76e05af68
https://github.com/danny0838
Handle common setups with setUpClasshttps://github.com/python/cpython/pull/134627/commits/72c2a6678f48454761edc4fd59f57862dd5d1b6c
72c2a66https://github.com/python/cpython/pull/134627/commits/72c2a6678f48454761edc4fd59f57862dd5d1b6c
https://github.com/danny0838
Add tests for mode w and x for remove()https://github.com/python/cpython/pull/134627/commits/a4b410b9f6b6160092f073eb4f3aa922f18c8517
a4b410bhttps://github.com/python/cpython/pull/134627/commits/a4b410b9f6b6160092f073eb4f3aa922f18c8517
https://github.com/sharktide
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F134627
Please reload this pagehttps://github.com/python/cpython/pull/134627
https://github.com/danny0838
danny0838https://github.com/danny0838
sharktidehttps://github.com/sharktide
May 24, 2025 17:29https://github.com/python/cpython/pull/134627#event-17800918315
https://github.com/sharktide
sharktidehttps://github.com/sharktide
May 24, 2025 https://github.com/python/cpython/pull/134627#pullrequestreview-2866394547
View reviewed changes https://github.com/python/cpython/pull/134627/files/a4b410b9f6b6160092f073eb4f3aa922f18c8517
sharktidehttps://github.com/sharktide
Please reload this pagehttps://github.com/python/cpython/pull/134627
https://github.com/python/cpython/pull/134627#pullrequestreview-2866394547
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/134627
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
May 24, 2025https://github.com/python/cpython/pull/134627#event-17800945249
https://github.com/danny0838
danny0838https://github.com/danny0838
May 24, 2025https://github.com/python/cpython/pull/134627#issuecomment-2906954441
open()https://docs.python.org/3.13/library/zipfile.html#zipfile.ZipFile.open
ValueErrorhttps://docs.python.org/3.13/library/exceptions.html#ValueError
RuntimeErrorhttps://docs.python.org/3.13/library/exceptions.html#RuntimeError
write()https://docs.python.org/3.13/library/zipfile.html#zipfile.ZipFile.write
ValueErrorhttps://docs.python.org/3.13/library/exceptions.html#ValueError
RuntimeErrorhttps://docs.python.org/3.13/library/exceptions.html#RuntimeError
Please reload this pagehttps://github.com/python/cpython/pull/134627
https://github.com/danny0838
danny0838https://github.com/danny0838
sharktidehttps://github.com/sharktide
May 24, 2025 17:58https://github.com/python/cpython/pull/134627#event-17800981841
https://github.com/danny0838
danny0838https://github.com/danny0838
May 24, 2025https://github.com/python/cpython/pull/134627#issuecomment-2906970476
Please reload this pagehttps://github.com/python/cpython/pull/134627
@ubershmekelhttps://github.com/ubershmekel
@barneygalehttps://github.com/barneygale
@merwokhttps://github.com/merwok
@wimglennhttps://github.com/wimglenn
Please reload this pagehttps://github.com/python/cpython/pull/134627
danny0838https://github.com/danny0838
May 25, 2025 10:09https://github.com/python/cpython/pull/134627#commits-pushed-a9e85c6
https://github.com/danny0838
Introduce _calc_initial_entry_offset and refactorhttps://github.com/python/cpython/pull/134627/commits/a9e85c654c8ba7d3b4be5cbe368c7a1934b0f16c
a9e85c6https://github.com/python/cpython/pull/134627/commits/a9e85c654c8ba7d3b4be5cbe368c7a1934b0f16c
https://github.com/danny0838
Optimize _calc_initial_entry_offset by introducing cachehttps://github.com/python/cpython/pull/134627/commits/236cd06084176266bd885b4e9361cb3acb00a298
236cd06https://github.com/python/cpython/pull/134627/commits/236cd06084176266bd885b4e9361cb3acb00a298
https://github.com/danny0838
Introduce _validate_local_file_entry and refactorhttps://github.com/python/cpython/pull/134627/commits/bdc58c7111f5346cc1e20800fb4b7dd69f31eeed
bdc58c7https://github.com/python/cpython/pull/134627/commits/bdc58c7111f5346cc1e20800fb4b7dd69f31eeed
https://github.com/danny0838
Introduce _debug and refactorhttps://github.com/python/cpython/pull/134627/commits/c3c834505ff0017a2ffd56c264ed81444cd65780
c3c8345https://github.com/python/cpython/pull/134627/commits/c3c834505ff0017a2ffd56c264ed81444cd65780
https://github.com/danny0838
Introduce _move_entry_data and rework chunk_size passinghttps://github.com/python/cpython/pull/134627/commits/1b7d75a4ea4e3f8db516bfa74fb56ac2ccd61cf2
1b7d75ahttps://github.com/python/cpython/pull/134627/commits/1b7d75a4ea4e3f8db516bfa74fb56ac2ccd61cf2
https://github.com/danny0838
Refactor _validate_local_file_entryhttps://github.com/python/cpython/pull/134627/commits/51c9254cfb738eddec9e14d82e301aa0456e02c5
51c9254https://github.com/python/cpython/pull/134627/commits/51c9254cfb738eddec9e14d82e301aa0456e02c5
https://github.com/danny0838
Add strict_descriptor optionhttps://github.com/python/cpython/pull/134627/commits/0d971d81b5c65583d3995d8d986655284d24c412
0d971d8https://github.com/python/cpython/pull/134627/commits/0d971d81b5c65583d3995d8d986655284d24c412
https://github.com/danny0838
danny0838https://github.com/danny0838
force-pushedhttps://github.com/python/cpython/compare/bc865beb5c50381712b3ec454bc16a86aaf743c7..0d971d81b5c65583d3995d8d986655284d24c412
bc865behttps://github.com/python/cpython/commit/bc865beb5c50381712b3ec454bc16a86aaf743c7
0d971d8https://github.com/python/cpython/commit/0d971d81b5c65583d3995d8d986655284d24c412
Compare https://github.com/python/cpython/compare/bc865beb5c50381712b3ec454bc16a86aaf743c7..0d971d81b5c65583d3995d8d986655284d24c412
May 25, 2025 02:19https://github.com/python/cpython/pull/134627#event-17802917191
danny0838https://github.com/danny0838
May 25, 2025 16:18https://github.com/python/cpython/pull/134627#commits-pushed-8f0a504
https://github.com/danny0838
Fix and improve validation testshttps://github.com/python/cpython/pull/134627/commits/8f0a504b205bc4e84f9a7b12497d03edd91064f5
8f0a504https://github.com/python/cpython/pull/134627/commits/8f0a504b205bc4e84f9a7b12497d03edd91064f5
https://github.com/danny0838
Remove obsolete NameToInfo updatinghttps://github.com/python/cpython/pull/134627/commits/0cb8682dfa1fdc14c0b3167ea938db44dc4f154d
0cb8682https://github.com/python/cpython/pull/134627/commits/0cb8682dfa1fdc14c0b3167ea938db44dc4f154d
https://github.com/danny0838
Use zinfo rather than infohttps://github.com/python/cpython/pull/134627/commits/a788a001a4ba5b1453ad02268060629c72ccbc0b
a788a00https://github.com/python/cpython/pull/134627/commits/a788a001a4ba5b1453ad02268060629c72ccbc0b
https://github.com/danny0838
Raise on overlapping file blockshttps://github.com/python/cpython/pull/134627/commits/ae01b8cd69f53a509b5782ad080c9254ae13edb1
ae01b8chttps://github.com/python/cpython/pull/134627/commits/ae01b8cd69f53a509b5782ad080c9254ae13edb1
https://github.com/danny0838
Rework writing protectionhttps://github.com/python/cpython/pull/134627/commits/edee2033c414f07dac405168a98c9f87104fded8
edee203https://github.com/python/cpython/pull/134627/commits/edee2033c414f07dac405168a98c9f87104fded8
https://github.com/danny0838
Update dochttps://github.com/python/cpython/pull/134627/commits/555ac78aec9487131785d0645cba935c1cd411d2
555ac78https://github.com/python/cpython/pull/134627/commits/555ac78aec9487131785d0645cba935c1cd411d2
gpsheadhttps://github.com/gpshead
June 20, 2026 17:03https://github.com/python/cpython/pull/134627#commits-pushed-3dde04e
https://github.com/gpshead
docs: clarify unspecified multiple entry removal, suggest ZipInfohttps://github.com/python/cpython/pull/134627/commits/3dde04e8488f94c6ff66c294754afaf48e0a7f9d
3dde04ehttps://github.com/python/cpython/pull/134627/commits/3dde04e8488f94c6ff66c294754afaf48e0a7f9d
https://github.com/gpshead
whatsnew entryhttps://github.com/python/cpython/pull/134627/commits/59d7b0dc00e56ceb9bc681677ae74fb8644b10bd
59d7b0dhttps://github.com/python/cpython/pull/134627/commits/59d7b0dc00e56ceb9bc681677ae74fb8644b10bd
https://github.com/gpshead
pythongh-51067https://github.com/python/cpython/issues/51067
: Default ZipFile.repack() to strict_descriptor=Truehttps://github.com/python/cpython/pull/134627/commits/9376c2dc590489255311d7c225bf4a98795f6b8b
9376c2dhttps://github.com/python/cpython/pull/134627/commits/9376c2dc590489255311d7c225bf4a98795f6b8b
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Jun 20, 2026https://github.com/python/cpython/pull/134627#event-26995532757
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
3.16 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A3.16
Jun 20, 2026https://github.com/python/cpython/pull/134627#event-26995537613
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
AA-Turnerhttps://github.com/AA-Turner
code ownerhttps://github.com/python/cpython/blob/1fb874cc076e771c39a7bbc650dce386e3c5b7a0/.github/CODEOWNERS#L116
June 20, 2026 17:42https://github.com/python/cpython/pull/134627#event-26995568489
gpsheadhttps://github.com/gpshead
June 20, 2026 18:00https://github.com/python/cpython/pull/134627#commits-pushed-cbae620
https://github.com/gpshead
pythongh-51067https://github.com/python/cpython/issues/51067
: Document reliable space reclamation in ZipFile.repack()https://github.com/python/cpython/pull/134627/commits/cbae62058cff6d9230a18561598e083560c2dfb2
cbae620https://github.com/python/cpython/pull/134627/commits/cbae62058cff6d9230a18561598e083560c2dfb2
https://github.com/gpshead
pythongh-51067https://github.com/python/cpython/issues/51067
: Bound _validate_local_file_entry to the scanned gaphttps://github.com/python/cpython/pull/134627/commits/e0fcc69be33ed69d026bceed4aa71895a1a8438d
e0fcc69https://github.com/python/cpython/pull/134627/commits/e0fcc69be33ed69d026bceed4aa71895a1a8438d
https://github.com/gpshead
pythongh-51067https://github.com/python/cpython/issues/51067
: Guard _copy_bytes against short readshttps://github.com/python/cpython/pull/134627/commits/adcd0883d4f65288c7ad252b09551ff5642c8906
adcd088https://github.com/python/cpython/pull/134627/commits/adcd0883d4f65288c7ad252b09551ff5642c8906
https://github.com/gpshead
pythongh-51067https://github.com/python/cpython/issues/51067
: Spell out ZipFile.repack() keyword argumentshttps://github.com/python/cpython/pull/134627/commits/b6dfda7fdcdcc8df6d78161a25e0f82da2a65faf
b6dfda7https://github.com/python/cpython/pull/134627/commits/b6dfda7fdcdcc8df6d78161a25e0f82da2a65faf
https://github.com/gpshead
pythongh-51067https://github.com/python/cpython/issues/51067
: Move NEWS entry to Library sectionhttps://github.com/python/cpython/pull/134627/commits/645910a739f42e7d75f12696490cc3b76ad87181
645910ahttps://github.com/python/cpython/pull/134627/commits/645910a739f42e7d75f12696490cc3b76ad87181
https://github.com/gpshead
pythongh-51067https://github.com/python/cpython/issues/51067
: Fix docstring typos in _ZipRepackerhttps://github.com/python/cpython/pull/134627/commits/01b493e15d2227f2c441de16cd118de8ef0b33da
01b493ehttps://github.com/python/cpython/pull/134627/commits/01b493e15d2227f2c441de16cd118de8ef0b33da
https://github.com/gpshead
pythongh-51067https://github.com/python/cpython/issues/51067
: Drop unreachable struct.error handler in no-sig DD scanhttps://github.com/python/cpython/pull/134627/commits/d339b6c1e8d791c9eeea7fcbd54b8f49e97bfd60
d339b6chttps://github.com/python/cpython/pull/134627/commits/d339b6c1e8d791c9eeea7fcbd54b8f49e97bfd60
https://github.com/gpshead
pythongh-51067https://github.com/python/cpython/issues/51067
: Use io.DEFAULT_BUFFER_SIZE in no-sig DD scanhttps://github.com/python/cpython/pull/134627/commits/b6937c5cf047ce98fe1233fefca2fb23f85bdd51
b6937c5https://github.com/python/cpython/pull/134627/commits/b6937c5cf047ce98fe1233fefca2fb23f85bdd51
https://github.com/gpshead
pythongh-51067https://github.com/python/cpython/issues/51067
: Replace ComparableZipInfo class with a functionhttps://github.com/python/cpython/pull/134627/commits/e7125e7ab7120975e30aeb7f8bf45db70849b2fb
e7125e7https://github.com/python/cpython/pull/134627/commits/e7125e7ab7120975e30aeb7f8bf45db70849b2fb
https://github.com/gpshead
pythongh-51067https://github.com/python/cpython/issues/51067
: Add _REPACK_CHUNK_SIZE constanthttps://github.com/python/cpython/pull/134627/commits/eb29a30bdeb566e0207e9daf3b97e6e175a11cbb
eb29a30https://github.com/python/cpython/pull/134627/commits/eb29a30bdeb566e0207e9daf3b97e6e175a11cbb
https://github.com/gpshead
pythongh-51067https://github.com/python/cpython/issues/51067
: Add tests for entry-size overshoot and _copy_bytes EOFhttps://github.com/python/cpython/pull/134627/commits/b70a80be67eae6ce89ee0154fe83e8550aab5d0a
b70a80bhttps://github.com/python/cpython/pull/134627/commits/b70a80be67eae6ce89ee0154fe83e8550aab5d0a
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Jun 20, 2026 https://github.com/python/cpython/pull/134627#pullrequestreview-4538724398
View reviewed changes https://github.com/python/cpython/pull/134627/files/b70a80be67eae6ce89ee0154fe83e8550aab5d0a
gpsheadhttps://github.com/gpshead
https://github.com/python/cpython/pull/134627#pullrequestreview-4538724398
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/134627
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
June 20, 2026 19:36https://github.com/python/cpython/pull/134627#event-26997925353
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
June 20, 2026 19:40https://github.com/python/cpython/pull/134627#event-26997978507
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
emmatypinghttps://github.com/emmatyping
stale reviewhttps://github.com/python/cpython/pull/134627#pullrequestreview-2960210104
June 20, 2026 19:43https://github.com/python/cpython/pull/134627#event-26998013362
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
aec0aedhttps://github.com/python/cpython/commit/aec0aed197872adf96d3f25fd5ea624508fcddbf
Jun 20, 2026https://github.com/python/cpython/pull/134627#event-26998039192
Please reload this pagehttps://github.com/python/cpython/pull/134627
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Jun 20, 2026https://github.com/python/cpython/pull/134627#event-26998039783
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Jun 20, 2026 https://github.com/python/cpython/pull/134627#ref-pullrequest-593793165
gh-51067: Add remove() in ZipInfo #19358 https://github.com/python/cpython/pull/19358
Support copy() for zipfile #151824 https://github.com/python/cpython/issues/151824
gh-151824: Add copy() to ZipFile #151825 https://github.com/python/cpython/pull/151825
https://github.com/danny0838
danny0838https://github.com/danny0838
June 22, 2026 15:54https://github.com/python/cpython/pull/134627#event-27050986149
https://github.com/danny0838
danny0838https://github.com/danny0838
Jun 22, 2026 https://github.com/python/cpython/pull/134627#ref-pullrequest-4719241601
gh-51067: Rephrase doc for ZipFile.{remove,repack} #151932 https://github.com/python/cpython/pull/151932
https://github.com/mkitti
mkittihttps://github.com/mkitti
Jun 23, 2026 https://github.com/python/cpython/pull/134627#ref-issue-3281404796
Proposal for a new SQLiteStore implementation in zarr-python v3 zarr-developers/zarr-python#3319 https://github.com/zarr-developers/zarr-python/issues/3319
pyctrlhttps://github.com/pyctrl
Jul 5, 2026 https://github.com/python/cpython/pull/134627#ref-commit-b9b4959
https://github.com/danny0838
https://github.com/apps/blurb-it
https://github.com/gpshead
https://github.com/pyctrl
pythongh-51067https://github.com/python/cpython/issues/51067
: Addhttps://github.com/pyctrl/cpython/commit/b9b4959b0e3719bc29102fe27c23489c9ca9adc1
remove()https://github.com/pyctrl/cpython/commit/b9b4959b0e3719bc29102fe27c23489c9ca9adc1
andhttps://github.com/pyctrl/cpython/commit/b9b4959b0e3719bc29102fe27c23489c9ca9adc1
repack()https://github.com/pyctrl/cpython/commit/b9b4959b0e3719bc29102fe27c23489c9ca9adc1
tohttps://github.com/pyctrl/cpython/commit/b9b4959b0e3719bc29102fe27c23489c9ca9adc1
ZipFilehttps://github.com/pyctrl/cpython/commit/b9b4959b0e3719bc29102fe27c23489c9ca9adc1
(https://github.com/pyctrl/cpython/commit/b9b4959b0e3719bc29102fe27c23489c9ca9adc1
pythonGH-…https://github.com/python/cpython/pull/134627
b9b4959https://github.com/pyctrl/cpython/commit/b9b4959b0e3719bc29102fe27c23489c9ca9adc1
…134627https://github.com/python/cpython/pull/134627
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F134627
https://github.com/merwok
merwok https://github.com/merwok
https://github.com/python/cpython/pull/134627/files/3a364ce6992501f44f0a098ec3122858db66929d
https://github.com/gpshead
gpshead https://github.com/gpshead
https://github.com/python/cpython/pull/134627/files/b70a80be67eae6ce89ee0154fe83e8550aab5d0a
https://github.com/jaraco
jaraco https://github.com/jaraco
https://github.com/python/cpython/pull/134627/files/f20ec5dfdaf1acd354c466770351aad9e4a5efcc
https://github.com/emmatyping
emmatyping https://github.com/emmatyping
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
https://github.com/distantvale
distantvale https://github.com/distantvale
https://github.com/python/cpython/pull/134627/files/3a364ce6992501f44f0a098ec3122858db66929d
https://github.com/sharktide
sharktide https://github.com/sharktide
https://github.com/python/cpython/pull/134627/files/797a62cd8f831aac39199a4a207b2d1cf620eaf6
https://github.com/gpshead
gpshead https://github.com/gpshead
3.16 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A3.16
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Please reload this pagehttps://github.com/python/cpython/pull/134627
https://github.com/danny0838
https://github.com/merwok
https://github.com/emmatyping
https://github.com/sharktide
https://github.com/gpshead
https://github.com/jaraco
https://github.com/distantvale
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.