why zip64_limit defined as 1<<31 -1?

Ian Kelly ian.g.kelly at gmail.com
Thu Jan 29 12:05:35 EST 2015


On Wed, Jan 28, 2015 at 5:55 PM, jesse <chat2jesse at gmail.com> wrote:
> the official zip format spec states clearly that normal zip file should be
> <= 4G size instead 2G.  I just can not believe Python has such an obvious
> bug.
>
> People suggested monkey patch the ZIP64_LIMIT value to pass 2G, I am not
> sure what will be the ramifications.

Is the current value causing any actual problem? I'm not familiar with
the zipfile source, but from a brief scan it looks like all this does
is set the threshold at which it will output zip64 files instead of
classic zip files.



More information about the Python-list mailing list