summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2017-09-29 17:31:52 (GMT)
committerPaul Moore <p.f.moore@gmail.com>2017-09-29 17:31:52 (GMT)
commitd87b105ca794addf92addb28293c92a7ef4141e1 (patch)
tree65d69e9473d93bb612d4c3fedbfb714626d402f5 /Doc/whatsnew
parent6fb0e4a6d085ffa4e4a6daaea042a1cc517fa8bc (diff)
downloadcpython-d87b105ca794addf92addb28293c92a7ef4141e1.zip
cpython-d87b105ca794addf92addb28293c92a7ef4141e1.tar.gz
cpython-d87b105ca794addf92addb28293c92a7ef4141e1.tar.bz2
bpo-31638: Add compression support to zipapp (GH-3819)
Add optional argument `compressed` to `zipapp.create_archive`, and add option `--compress` to the command line interface of `zipapp`.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.7.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index a19a289..a474e76 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -285,9 +285,13 @@ zipapp
------
Function :func:`zipapp.create_archive` now accepts an optional *filter*
-argument, to allow the user to select which files should be included in the
+argument to allow the user to select which files should be included in the
+archive, and an optional *compressed* argument to generate a compressed
archive.
+A command line option ``--compress`` has also been added to support
+compression.
+
Optimizations
=============