]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-21417: Add compresslevel= to the zipfile module (GH-5385)
authorBo Bayles <bbayles@gmail.com>
Tue, 30 Jan 2018 05:54:07 +0000 (23:54 -0600)
committerGregory P. Smith <greg@krypto.org>
Tue, 30 Jan 2018 05:54:07 +0000 (21:54 -0800)
commitce237c7d58ba207575cdfb0195a58a6407fbf717
tree94f6d04e82d5c1e7b14e45f7778a23cdca88f8ab
parentf4d644f36ffb6cb11b34bfcf533c14cfaebf709a
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
Doc/library/zipfile.rst
Lib/test/test_zipfile.py
Lib/zipfile.py
Misc/NEWS.d/next/Library/2018-01-28-07-55-10.bpo-21417.JFnV99.rst [new file with mode: 0644]