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 rmilne
Recipients docs@python, rmilne
Date 2013-12-05.09:26:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386235609.47.0.431866049959.issue19894@psf.upfronthosting.co.za>
In-reply-to
Content
Reading the pkzip APPNOTE and the documentation for the zipfile module, I was under the impression that I could set the DEFLATE compression level, on a per-file basis, for each file added to an archive, by setting the appropriate bits in zipinfo.flag_bits.

You can't. Hence the attached patch, which updates the docs, tests and module source to enables this ability and makes the user aware of it.
History
Date User Action Args
2013-12-05 09:26:49rmilnesetrecipients: + rmilne, docs@python
2013-12-05 09:26:49rmilnesetmessageid: <1386235609.47.0.431866049959.issue19894@psf.upfronthosting.co.za>
2013-12-05 09:26:48rmilnelinkissue19894 messages
2013-12-05 09:26:48rmilnecreate