This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Peter Ebden, benjamin.peterson, larry, ned.deily, serhiy.storchaka
Date 2017-01-01.07:34:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483256089.37.0.662630069046.issue29094@psf.upfronthosting.co.za>
In-reply-to
Content
The specification of ZIP files is not pretty clear, but the unzip utility first try to interpret offsets relatively to the start of the archive that can be different from the start of the file. Go's standard archive/zip package interprets offsets as absolute file positions and doesn't support concatenated ZIP files.

In any case there is a regression. Proposed patch partially reverts issue26293. Offsets in created ZIP file are now absolute when create with modes 'w' and 'x'. But they are relative when create with mode 'a'. This should fix a regression in pex, but keep the case of issue26293.

I'm going to push the patch before tagging 3.5.3 rc1.
History
Date User Action Args
2017-01-01 07:34:49serhiy.storchakasetrecipients: + serhiy.storchaka, larry, benjamin.peterson, ned.deily, Peter Ebden
2017-01-01 07:34:49serhiy.storchakasetmessageid: <1483256089.37.0.662630069046.issue29094@psf.upfronthosting.co.za>
2017-01-01 07:34:49serhiy.storchakalinkissue29094 messages
2017-01-01 07:34:48serhiy.storchakacreate