[issue9720] zipfile writes incorrect local file header for large files in zip64

2010-09-05 Thread Craig de Stigter
Craig de Stigter added the comment: Hi, sorry no I haven't had time to add a real test for this -- ___ Python tracker <http://bugs.python.org/issue9720> ___ ___

[issue9720] zipfile writes incorrect local file header for large files in zip64

2010-09-03 Thread Craig de Stigter
Craig de Stigter added the comment: Yes, the bug still exists in Python 3.1.2. However, struct.pack() no longer silently ignores overflow, so I get this error instead: >>> z.write('foo.txt') Traceback (most recent call last): File "", line 1, in File &

[issue9720] zipfile writes incorrect local file header for large files in zip64

2010-08-30 Thread Craig de Stigter
New submission from Craig de Stigter : Steps to reproduce: # create a large (>4gb) file f = open('foo.txt', 'wb') text = 'a' * 1024**2 for i in xrange(5 * 1024): f.write(text) f.close() # now zip the file import zipfile z = zipfile.ZipFile('foo.zi