René's URL Explorer Experiment


Title: bpo-21417: Compression level for zipfile by bbayles · Pull Request #5385 · python/cpython · GitHub

Open Graph Title: bpo-21417: Compression level for zipfile by bbayles · Pull Request #5385 · python/cpython

X Title: bpo-21417: Compression level for zipfile by bbayles · Pull Request #5385 · python/cpython

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

Open Graph Description: This PR adds a compresslevel parameter to zipfile.ZipFile(), similar to the one that exists for tarfile.open(). A few things to point out: The default compression type and level remain unchanged. ...

X Description: This PR adds a compresslevel parameter to zipfile.ZipFile(), similar to the one that exists for tarfile.open(). A few things to point out: The default compression type and level remain unchanged. ...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:d7594cf2-bbce-3f37-4ffb-fe2ca4cfb00c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE7C2:37ACD:2080411:2C8D144:6A4ECCD9
html-safe-nonce486b9180153492f453d13d42ce56369d80d8d6f0a92f32f2f761d1dd0a6b379f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0MyOjM3QUNEOjIwODA0MTE6MkM4RDE0NDo2QTRFQ0NEOSIsInZpc2l0b3JfaWQiOiI0MzYyOTI3Mjg2ODYyNjYyODczIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac073a21aec0b92409e41c881a9d0716c10bfb9d925b9b66f0b8df500ff35ab6a2
hovercard-subject-tagpull_request:165570238
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/5385/commits
twitter:imagehttps://opengraph.githubassets.com/820b2d24ff76e5d2f3f8151b7e83ae85e47e4de08cde950e7e3c9b81e3633b63/python/cpython/pull/5385
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/820b2d24ff76e5d2f3f8151b7e83ae85e47e4de08cde950e7e3c9b81e3633b63/python/cpython/pull/5385
og:image:altThis PR adds a compresslevel parameter to zipfile.ZipFile(), similar to the one that exists for tarfile.open(). A few things to point out: The default compression type and level remain unchanged. ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebbayles
hostnamegithub.com
expected-hostnamegithub.com
None41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c
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
releasee6a744804e8e70f97b4d5a18a94dcc63db22f97a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/5385/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F5385%2Fcommits
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%2F5385%2Fcommits
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%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/5385/commits
Reloadhttps://github.com/python/cpython/pull/5385/commits
Reloadhttps://github.com/python/cpython/pull/5385/commits
Please reload this pagehttps://github.com/python/cpython/pull/5385/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/5385/commits
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
gpsheadhttps://github.com/gpshead
python:masterhttps://github.com/python/cpython/tree/master
bbayles:zipfile-compresslevelhttps://github.com/bbayles/cpython/tree/zipfile-compresslevel
Conversationhttps://github.com/python/cpython/pull/5385
Commits13 (13)https://github.com/python/cpython/pull/5385/commits
Checkshttps://github.com/python/cpython/pull/5385/checks
Files changedhttps://github.com/python/cpython/pull/5385/files
bpo-21417: Compression level for zipfilehttps://github.com/python/cpython/pull/5385/commits#top
gpsheadhttps://github.com/gpshead
python:masterhttps://github.com/python/cpython/tree/master
bbayles:zipfile-compresslevelhttps://github.com/bbayles/cpython/tree/zipfile-compresslevel
First stab at adding compresslevel to zipfilehttps://github.com/python/cpython/pull/5385/commits/23f3310331474440a8c16d98f808427fad9d0a3c
https://github.com/bbayles
bbayleshttps://github.com/python/cpython/commits?author=bbayles
23f3310https://github.com/python/cpython/pull/5385/commits/23f3310331474440a8c16d98f808427fad9d0a3c
https://github.com/python/cpython/tree/23f3310331474440a8c16d98f808427fad9d0a3c
Smooth out errors for bz2 and lzmahttps://github.com/python/cpython/pull/5385/commits/b02997775bcb5fa200e3951a52bfe7d748079769
https://github.com/bbayles
bbayleshttps://github.com/python/cpython/commits?author=bbayles
b029977https://github.com/python/cpython/pull/5385/commits/b02997775bcb5fa200e3951a52bfe7d748079769
https://github.com/python/cpython/tree/b02997775bcb5fa200e3951a52bfe7d748079769
Remove now-spurious commentshttps://github.com/python/cpython/pull/5385/commits/9c5770042ed9e67bea3bc2b162d5cce7aa9f2a4d
https://github.com/bbayles
bbayleshttps://github.com/python/cpython/commits?author=bbayles
9c57700https://github.com/python/cpython/pull/5385/commits/9c5770042ed9e67bea3bc2b162d5cce7aa9f2a4d
https://github.com/python/cpython/tree/9c5770042ed9e67bea3bc2b162d5cce7aa9f2a4d
No it was not neededhttps://github.com/python/cpython/pull/5385/commits/15080736f30df418d3b9c4cbecd6c039fb1fb361
https://github.com/bbayles
bbayleshttps://github.com/python/cpython/commits?author=bbayles
1508073https://github.com/python/cpython/pull/5385/commits/15080736f30df418d3b9c4cbecd6c039fb1fb361
https://github.com/python/cpython/tree/15080736f30df418d3b9c4cbecd6c039fb1fb361
Don't open the PyZipFile box yethttps://github.com/python/cpython/pull/5385/commits/9b5d74ed9a0d2b8fc3c1f4a380f3be618c6e8877
https://github.com/bbayles
bbayleshttps://github.com/python/cpython/commits?author=bbayles
9b5d74ehttps://github.com/python/cpython/pull/5385/commits/9b5d74ed9a0d2b8fc3c1f4a380f3be618c6e8877
https://github.com/python/cpython/tree/9b5d74ed9a0d2b8fc3c1f4a380f3be618c6e8877
Add basic notes about compresslevel to docshttps://github.com/python/cpython/pull/5385/commits/65045819e0459b1e40cf79ce39745bd5b531436f
https://github.com/bbayles
bbayleshttps://github.com/python/cpython/commits?author=bbayles
6504581https://github.com/python/cpython/pull/5385/commits/65045819e0459b1e40cf79ce39745bd5b531436f
https://github.com/python/cpython/tree/65045819e0459b1e40cf79ce39745bd5b531436f
Add basic tests for compresslevelhttps://github.com/python/cpython/pull/5385/commits/46eb50360a98d8459bf0fda4d164454c20c39d1e
https://github.com/bbayles
bbayleshttps://github.com/python/cpython/commits?author=bbayles
46eb503https://github.com/python/cpython/pull/5385/commits/46eb50360a98d8459bf0fda4d164454c20c39d1e
https://github.com/python/cpython/tree/46eb50360a98d8459bf0fda4d164454c20c39d1e
Make ZipInfo compression level privatehttps://github.com/python/cpython/pull/5385/commits/7ff82720ffb914277300e2dfa0e4b93264b453c1
https://github.com/bbayles
bbayleshttps://github.com/python/cpython/commits?author=bbayles
7ff8272https://github.com/python/cpython/pull/5385/commits/7ff82720ffb914277300e2dfa0e4b93264b453c1
https://github.com/python/cpython/tree/7ff82720ffb914277300e2dfa0e4b93264b453c1
Test implicit and overridden compression levelshttps://github.com/python/cpython/pull/5385/commits/8310c7951b8f0f37d6a7b59b4ab570080195d4a2
https://github.com/bbayles
bbayleshttps://github.com/python/cpython/commits?author=bbayles
8310c79https://github.com/python/cpython/pull/5385/commits/8310c7951b8f0f37d6a7b59b4ab570080195d4a2
https://github.com/python/cpython/tree/8310c7951b8f0f37d6a7b59b4ab570080195d4a2
Add Misc/NEWS entryhttps://github.com/python/cpython/pull/5385/commits/8ab542c3e6198578ebd71a4bd41d135378680607
https://github.com/bbayles
bbayleshttps://github.com/python/cpython/commits?author=bbayles
8ab542chttps://github.com/python/cpython/pull/5385/commits/8ab542c3e6198578ebd71a4bd41d135378680607
https://github.com/python/cpython/tree/8ab542c3e6198578ebd71a4bd41d135378680607
Correct typo in test comment.https://github.com/python/cpython/pull/5385/commits/0e3f9ced44bd5121e7f4e8f3c141d44ffab72358
https://github.com/bbayles
bbayleshttps://github.com/python/cpython/commits?author=bbayles
0e3f9cehttps://github.com/python/cpython/pull/5385/commits/0e3f9ced44bd5121e7f4e8f3c141d44ffab72358
https://github.com/python/cpython/tree/0e3f9ced44bd5121e7f4e8f3c141d44ffab72358
compress_level to compresslevel throughouthttps://github.com/python/cpython/pull/5385/commits/3925fc2f310b4eb4a46f16fa7bb562b11242a8b0
https://github.com/bbayles
bbayleshttps://github.com/python/cpython/commits?author=bbayles
3925fc2https://github.com/python/cpython/pull/5385/commits/3925fc2f310b4eb4a46f16fa7bb562b11242a8b0
https://github.com/python/cpython/tree/3925fc2f310b4eb4a46f16fa7bb562b11242a8b0
Update compresslevel documentation targetshttps://github.com/python/cpython/pull/5385/commits/c390f645d5bccade0d7744164483a87729aa5346
https://github.com/bbayles
bbayleshttps://github.com/python/cpython/commits?author=bbayles
c390f64https://github.com/python/cpython/pull/5385/commits/c390f645d5bccade0d7744164483a87729aa5346
https://github.com/python/cpython/tree/c390f645d5bccade0d7744164483a87729aa5346
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.