diff options
author | Bo Bayles <bbayles@gmail.com> | 2018-01-30 05:54:07 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2018-01-30 05:54:07 (GMT) |
commit | ce237c7d58ba207575cdfb0195a58a6407fbf717 (patch) | |
tree | 94f6d04e82d5c1e7b14e45f7778a23cdca88f8ab /Misc | |
parent | f4d644f36ffb6cb11b34bfcf533c14cfaebf709a (diff) | |
download | cpython-ce237c7d58ba207575cdfb0195a58a6407fbf717.zip cpython-ce237c7d58ba207575cdfb0195a58a6407fbf717.tar.gz cpython-ce237c7d58ba207575cdfb0195a58a6407fbf717.tar.bz2 |
bpo-21417: Add compresslevel= to the zipfile module (GH-5385)
This allows the compression level to be specified when writing zipfiles
(for the entire file *and* overridden on a per-file basis).
Contributed by Bo Bayles
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2018-01-28-07-55-10.bpo-21417.JFnV99.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-01-28-07-55-10.bpo-21417.JFnV99.rst b/Misc/NEWS.d/next/Library/2018-01-28-07-55-10.bpo-21417.JFnV99.rst new file mode 100644 index 0000000..50207a0 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2018-01-28-07-55-10.bpo-21417.JFnV99.rst @@ -0,0 +1 @@ +Added support for setting the compression level for zipfile.ZipFile. |