From: Berker Peksag Date: Mon, 2 Jan 2017 03:13:42 +0000 (+0300) Subject: Issue #29013: Fix allowZip64 documentation X-Git-Tag: v3.5.3rc1~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4950ae14916e340e5274ce0b8277aec9006bd035;p=python Issue #29013: Fix allowZip64 documentation Zip files can be larger than 4 GiB if allowZip64 is true (default since Python 3.4) --- diff --git a/Doc/library/zipfile.rst b/Doc/library/zipfile.rst index bf482d265f..d144ae36f1 100644 --- a/Doc/library/zipfile.rst +++ b/Doc/library/zipfile.rst @@ -152,7 +152,7 @@ ZipFile Objects (:mod:`zlib`, :mod:`bz2` or :mod:`lzma`) is not available, :exc:`RuntimeError` is also raised. The default is :const:`ZIP_STORED`. If *allowZip64* is ``True`` (the default) zipfile will create ZIP files that use the ZIP64 - extensions when the zipfile is larger than 2 GiB. If it is false :mod:`zipfile` + extensions when the zipfile is larger than 4 GiB. If it is false :mod:`zipfile` will raise an exception when the ZIP file would require ZIP64 extensions. If the file is created with mode ``'w'``, ``'x'`` or ``'a'`` and then