[issue14315] zipfile.ZipFile() unable to open zip File

Martin v. Löwis report at bugs.python.org
Mon May 14 22:36:36 CEST 2012


Martin v. Löwis <martin at v.loewis.de> added the comment:

> This is definitely a padding issue. All uncompressed files are located
> so that the data starts with a 4-byte boundary (1190+30+15+1=1236, 27486
> +30+17+3=27536, etc). This is, probably, allows the use of mmap for the
> resources.

That can't possibly be the reason. mmap requires 4k (4096) alignment (on 
x86; more than that on SPARC).

Perhaps there is a reason for 4-alignment - but it can't be mmap-

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14315>
_______________________________________


More information about the Python-bugs-list mailing list