[docs] [issue29013] zipfile: inconsistent doc for ZIP64 file size

Monte Davidoff report at bugs.python.org
Fri Sep 21 02:12:18 EDT 2018


Monte Davidoff <md14-python at alluvialsw.com> added the comment:

Serhiy, merely reverting the change would not fix the originally reported problem in the documentation. Based on your additional information, and to prevent the need to describe the ZIP64 extensions in more than one place, I suggest two changes:

(1) Change the second paragraph in the zipfile module documentation from:

"It can handle ZIP files that use the ZIP64 extensions (that is ZIP files that are more than 4 GiB in size)."

to:

"It can handle ZIP files that use the ZIP64 extensions."

(2) In the description of the zipfile.ZipFile class, change:

"If allowZip64 is True (the default) zipfile will create ZIP files that use the ZIP64 extensions when the zipfile is larger than 4 GiB."

to:

"If allowZip64 is True (the default) zipfile will create ZIP files that use the ZIP64 extensions when the zipfile is larger than 2 GiB or contains more than 65535 files."

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue29013>
_______________________________________


More information about the docs mailing list