why zip64_limit defined as 1<<31 -1?

Mark Lawrence breamoreboy at yahoo.co.uk
Thu Jan 29 09:26:33 CET 2015

On 29/01/2015 00:55, jesse 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.

There are numerous open issues on bugs.python.org regarding the zipfile 
and zipimport modules.  Perhaps you'd like to help fix a few of them?

As an aside please don't top post on this list, thanks.

My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

More information about the Python-list mailing list