Message259642
Example:
from zipfile import ZipFile
with open('a.zipp', 'wb') as base:
base.write(b'old\n')
with ZipFile(base, 'a') as myzip:
myzip.write('eggs.txt')
If the embedded zip portion of the file is extracted (first four bytes deleted), some fields will be incorrect in the resultant file - commenting out line 3 produces a file that can serve as a comparison. These differences cause issues opening with some zip library implementations.
My best guess is that this is related to this line: https://github.com/python/cpython/blob/master/Lib/zipfile.py#L1459 |
|
Date |
User |
Action |
Args |
2016-02-05 08:52:35 | spoo | set | recipients:
+ spoo |
2016-02-05 08:52:35 | spoo | set | messageid: <1454662355.53.0.48718125489.issue26293@psf.upfronthosting.co.za> |
2016-02-05 08:52:35 | spoo | link | issue26293 messages |
2016-02-05 08:52:35 | spoo | create | |
|