Skip to content

gh-76909: Add preset parameters to the zipfile library to control the LZMA compression filter preset#92854

Open
dignissimus wants to merge 7 commits intopython:mainfrom
dignissimus:gh-76909
Open

gh-76909: Add preset parameters to the zipfile library to control the LZMA compression filter preset#92854
dignissimus wants to merge 7 commits intopython:mainfrom
dignissimus:gh-76909

Conversation

@dignissimus
Copy link
Copy Markdown
Contributor

@dignissimus dignissimus commented May 16, 2022

The zipfile library supports a compresslevel argument to set the compression level when using gzip and bzip2. This pull request introduces a preset parameter to ZipFile.write, ZipFile.writestr and the constructor of zipfile.ZipFile to control the LZMA filter preset, in line with the capabilities of the tarfile library.

Resolves #76909

@github-actions
Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extend zipfile's compression level support to LZMA

2 participants