Skip to content

bpo-26253: Add compressionlevel to tarfile stream - #2962

Merged
serhiy-storchaka merged 5 commits into
python:mainfrom
jarondl:tarfile-compress-26253
Jun 25, 2022
Merged

bpo-26253: Add compressionlevel to tarfile stream#2962
serhiy-storchaka merged 5 commits into
python:mainfrom
jarondl:tarfile-compress-26253

Conversation

@jarondl

@jarondl jarondl commented Jul 31, 2017

Copy link
Copy Markdown
Contributor

tarfile already accepts a compressionlevel argument for creating
files. This patch adds the same for stream-based tarfile usage.
The default is 9, the value that was previously hard-coded.

https://bugs.python.org/issue26253

#70441

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stdlib Standard Library Python modules in the Lib/ directory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants