René's URL Explorer Experiment


Title: bpo-32728: Add compresslevel support for zipfile and LZMA by bbayles · Pull Request #5534 · python/cpython · GitHub

Open Graph Title: bpo-32728: Add compresslevel support for zipfile and LZMA by bbayles · Pull Request #5534 · python/cpython

X Title: bpo-32728: Add compresslevel support for zipfile and LZMA by bbayles · Pull Request #5534 · python/cpython

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

Open Graph Description: This PR extends the compresslevel support added to zipfile.ZipFile in #5385 to the LZMA compression method. Currently ZIP_DEFLATED and ZIP_BZ2 can be used with compresslevel, but ZIP_LZMA can't...

X Description: This PR extends the compresslevel support added to zipfile.ZipFile in #5385 to the LZMA compression method. Currently ZIP_DEFLATED and ZIP_BZ2 can be used with compresslevel, but ZIP_LZMA can&#...

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

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:3bee8dc9-c6f3-59e4-383f-c3c935cd3636
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id92FC:633B1:3ACA200:5158600:6A4F451C
html-safe-nonce14775c762d5999be4a87269f053d28e42a016e3c4e87717a9b6914bfe05c0ff6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkZDOjYzM0IxOjNBQ0EyMDA6NTE1ODYwMDo2QTRGNDUxQyIsInZpc2l0b3JfaWQiOiI3ODI2NjA1MjAwMzIwMTg1NjI4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6a11aaeb6f6e1583d46a41f9f8814cd65e91dc686b588b86bf1d2673261fc425
hovercard-subject-tagpull_request:167025928
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/5534/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ba0caa4c956803e5bb96f24d1eec66ef2cfd73a277b595c52ddab8a76a093d4b/python/cpython/pull/5534
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ba0caa4c956803e5bb96f24d1eec66ef2cfd73a277b595c52ddab8a76a093d4b/python/cpython/pull/5534
og:image:altThis PR extends the compresslevel support added to zipfile.ZipFile in #5385 to the LZMA compression method. Currently ZIP_DEFLATED and ZIP_BZ2 can be used with compresslevel, but ZIP_LZMA can't...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebbayles
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
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
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/5534#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F5534
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%2F5534
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/5534
Reloadhttps://github.com/python/cpython/pull/5534
Reloadhttps://github.com/python/cpython/pull/5534
Please reload this pagehttps://github.com/python/cpython/pull/5534
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/5534
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
bbayleshttps://github.com/bbayles
python:masterhttps://github.com/python/cpython/tree/master
bbayles:zipfile-lzma-presetshttps://github.com/bbayles/cpython/tree/zipfile-lzma-presets
Conversationhttps://github.com/python/cpython/pull/5534
Commits11 (11)https://github.com/python/cpython/pull/5534/commits
Checkshttps://github.com/python/cpython/pull/5534/checks
Files changedhttps://github.com/python/cpython/pull/5534/files
bpo-32728: Add compresslevel support for zipfile and LZMAhttps://github.com/python/cpython/pull/5534#top
bbayleshttps://github.com/bbayles
python:masterhttps://github.com/python/cpython/tree/master
bbayles:zipfile-lzma-presetshttps://github.com/bbayles/cpython/tree/zipfile-lzma-presets
https://github.com/bbayles
bbayleshttps://github.com/bbayles
Feb 4, 2018https://github.com/python/cpython/pull/5534#issue-294223797
Please reload this pagehttps://github.com/python/cpython/pull/5534
#5385https://github.com/python/cpython/pull/5385
these docshttps://docs.python.org/3/library/lzma.html#lzma.LZMACompressor
herehttps://docs.python.org/3/library/lzma.html#specifying-custom-filter-chains
man pagehttps://www.freebsd.org/cgi/man.cgi?query=xz&sektion=1&manpath=FreeBSD+8.3-RELEASE
examplehttps://user-images.githubusercontent.com/1922815/35779033-64376b9c-098c-11e8-82d0-a86f9d51409a.png
lzma_lzma_presethttps://git.tukaani.org/?p=xz.git;a=blob;f=src/liblzma/lzma/lzma_encoder_presets.c;hb=HEAD
this scripthttps://gist.githubusercontent.com/bbayles/4ab8158ecd88a746191658ba8a40b512/raw/cf25210883c7782509e0e50020583c33234f1942/bpo_21417.py
https://bugs.python.org/issue32728https://bugs.python.org/issue32728
Please reload this pagehttps://github.com/python/cpython/pull/5534
bbayleshttps://github.com/bbayles
February 2, 2018 16:44https://github.com/python/cpython/pull/5534#commits-pushed-63a9350
https://github.com/bbayles
Add compresslevel support for LZMAhttps://github.com/python/cpython/pull/5534/commits/63a9350c973816b9fcbfc9671926d488e229acb8
63a9350https://github.com/python/cpython/pull/5534/commits/63a9350c973816b9fcbfc9671926d488e229acb8
https://github.com/bbayles
Add NEWS entryhttps://github.com/python/cpython/pull/5534/commits/4ca4ba64b7c6df33c2b67800984aca635d921c46
4ca4ba6https://github.com/python/cpython/pull/5534/commits/4ca4ba64b7c6df33c2b67800984aca635d921c46
https://github.com/bbayles
Add docs entry for lzma compresslevelhttps://github.com/python/cpython/pull/5534/commits/47d7dbc8b1b936796d4c23798dff3670f4414cd0
47d7dbchttps://github.com/python/cpython/pull/5534/commits/47d7dbc8b1b936796d4c23798dff3670f4414cd0
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Feb 4, 2018https://github.com/python/cpython/pull/5534#event-1456948591
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Feb 4, 2018https://github.com/python/cpython/pull/5534#event-1456948593
https://github.com/bbayles
Merge branch 'master' into zipfile-lzma-presetshttps://github.com/python/cpython/pull/5534/commits/c97397a071468780027a2682d95dfaa4e493da1e
c97397ahttps://github.com/python/cpython/pull/5534/commits/c97397a071468780027a2682d95dfaa4e493da1e
https://github.com/ZackerySpytz
ZackerySpytzhttps://github.com/ZackerySpytz
Aug 5, 2019 https://github.com/python/cpython/pull/5534#pullrequestreview-271031721
View reviewed changes https://github.com/python/cpython/pull/5534/files/c97397a071468780027a2682d95dfaa4e493da1e
Doc/library/zipfile.rsthttps://github.com/python/cpython/pull/5534/files/c97397a071468780027a2682d95dfaa4e493da1e#diff-8a20c37fb313d7b188ae15bb57b351cc2ab73cbdcb6b2aee44cf2f8451768086
Please reload this pagehttps://github.com/python/cpython/pull/5534
Lib/test/test_zipfile.pyhttps://github.com/python/cpython/pull/5534/files/c97397a071468780027a2682d95dfaa4e493da1e#diff-88215aededc3f81c55ba2432fe67617be9fc3faff9cb10e0c01f710adfcba426
ZackerySpytzhttps://github.com/ZackerySpytz
Aug 5, 2019https://github.com/python/cpython/pull/5534#discussion_r310813438
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/5534
bbayleshttps://github.com/bbayles
Aug 5, 2019https://github.com/python/cpython/pull/5534#discussion_r310828879
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/5534
Misc/NEWS.d/next/Library/2018-02-04-13-18-14.bpo-32728.2u0pLO.rsthttps://github.com/python/cpython/pull/5534/files/c97397a071468780027a2682d95dfaa4e493da1e#diff-6076fa9d16f489b670e03043d2a3751cd8d28a35017e1c96aff10a01f508ae5f
Please reload this pagehttps://github.com/python/cpython/pull/5534
Lib/zipfile.pyhttps://github.com/python/cpython/pull/5534/files/c97397a071468780027a2682d95dfaa4e493da1e#diff-b5cf7374d79aae191c1e38d0959527e0bbb7a95e0df5b125a8b1056cc2c54851
ZackerySpytzhttps://github.com/ZackerySpytz
Aug 5, 2019https://github.com/python/cpython/pull/5534#discussion_r310815088
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/5534
bbayleshttps://github.com/bbayles
Aug 5, 2019https://github.com/python/cpython/pull/5534#discussion_r310829138
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/5534
Doc/library/zipfile.rsthttps://github.com/python/cpython/pull/5534/files/c97397a071468780027a2682d95dfaa4e493da1e#diff-8a20c37fb313d7b188ae15bb57b351cc2ab73cbdcb6b2aee44cf2f8451768086
Please reload this pagehttps://github.com/python/cpython/pull/5534
Lib/zipfile.pyhttps://github.com/python/cpython/pull/5534/files/c97397a071468780027a2682d95dfaa4e493da1e#diff-b5cf7374d79aae191c1e38d0959527e0bbb7a95e0df5b125a8b1056cc2c54851
Please reload this pagehttps://github.com/python/cpython/pull/5534
bbayleshttps://github.com/bbayles
August 5, 2019 18:15https://github.com/python/cpython/pull/5534#commits-pushed-3218ba6
https://github.com/bbayles
Merge remote-tracking branch 'upstream/master' into zipfile-lzma-presetshttps://github.com/python/cpython/pull/5534/commits/3218ba6da53b9b176ee350ee2ea45f6d8c5bbd22
3218ba6https://github.com/python/cpython/pull/5534/commits/3218ba6da53b9b176ee350ee2ea45f6d8c5bbd22
https://github.com/bbayles
Merge remote-tracking branch 'upstream/master' into zipfile-lzma-presetshttps://github.com/python/cpython/pull/5534/commits/916be2600ca1aaeeaa3db0727dbbb67c5f6a5d4e
916be26https://github.com/python/cpython/pull/5534/commits/916be2600ca1aaeeaa3db0727dbbb67c5f6a5d4e
https://github.com/bbayles
https://github.com/ZackerySpytz
Update Doc/library/zipfile.rsthttps://github.com/python/cpython/pull/5534/commits/37b8945188930f8e825e6bcfb4a07e4d14c92202
37b8945https://github.com/python/cpython/pull/5534/commits/37b8945188930f8e825e6bcfb4a07e4d14c92202
https://github.com/bbayles
https://github.com/ZackerySpytz
Update Misc/NEWS.d/next/Library/2018-02-04-13-18-14.bpo-32728.2u0pLO.rsthttps://github.com/python/cpython/pull/5534/commits/3ed3f2495d6386f30cd3101059c51b0c997ae734
3ed3f24https://github.com/python/cpython/pull/5534/commits/3ed3f2495d6386f30cd3101059c51b0c997ae734
https://github.com/bbayles
Adjust punctuationhttps://github.com/python/cpython/pull/5534/commits/b7499b06da2dab7c83edbf1b2174df93c4348a5f
b7499b0https://github.com/python/cpython/pull/5534/commits/b7499b06da2dab7c83edbf1b2174df93c4348a5f
https://github.com/bbayles
Remove collections importhttps://github.com/python/cpython/pull/5534/commits/978bf3feca99e5d54453236b41a4ac0baae36715
978bf3fhttps://github.com/python/cpython/pull/5534/commits/978bf3feca99e5d54453236b41a4ac0baae36715
https://github.com/bbayles
Prettify dict_sizehttps://github.com/python/cpython/pull/5534/commits/538e9566f2f6fb02a2d4621c34469ad2ee14a0fc
538e956https://github.com/python/cpython/pull/5534/commits/538e9566f2f6fb02a2d4621c34469ad2ee14a0fc
https://github.com/epicfaace
epicfaacehttps://github.com/epicfaace
Aug 27, 2019 https://github.com/python/cpython/pull/5534#pullrequestreview-279947803
View reviewed changes https://github.com/python/cpython/pull/5534/files/538e9566f2f6fb02a2d4621c34469ad2ee14a0fc
Doc/library/zipfile.rsthttps://github.com/python/cpython/pull/5534/files/538e9566f2f6fb02a2d4621c34469ad2ee14a0fc#diff-8a20c37fb313d7b188ae15bb57b351cc2ab73cbdcb6b2aee44cf2f8451768086
epicfaacehttps://github.com/epicfaace
Aug 27, 2019https://github.com/python/cpython/pull/5534#discussion_r317887561
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/5534
Lib/zipfile.pyhttps://github.com/python/cpython/pull/5534/files/538e9566f2f6fb02a2d4621c34469ad2ee14a0fc#diff-b5cf7374d79aae191c1e38d0959527e0bbb7a95e0df5b125a8b1056cc2c54851
Please reload this pagehttps://github.com/python/cpython/pull/5534
https://github.com/bbayles
bbayleshttps://github.com/bbayles
Jul 8, 2020https://github.com/python/cpython/pull/5534#event-3522961311
https://github.com/python/cpython/pull/5534
bbayleshttps://github.com/python/cpython/pull/5534
Apr 10, 2022 https://github.com/python/cpython/pull/5534#ref-issue-1198986861
Extend zipfile's compression level support to LZMA #76909 https://github.com/python/cpython/issues/76909
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%2F5534
https://github.com/epicfaace
epicfaace https://github.com/epicfaace
https://github.com/python/cpython/pull/5534/files/538e9566f2f6fb02a2d4621c34469ad2ee14a0fc
https://github.com/ZackerySpytz
ZackerySpytz https://github.com/ZackerySpytz
https://github.com/python/cpython/pull/5534/files/c97397a071468780027a2682d95dfaa4e493da1e
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Please reload this pagehttps://github.com/python/cpython/pull/5534
https://github.com/bbayles
https://github.com/epicfaace
https://github.com/ZackerySpytz
https://github.com/the-knights-who-say-ni
https://github.com/bedevere-bot
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.