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 SilentGhost
Recipients SilentGhost, rai
Date 2014-06-07.13:18:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1402147132.97.0.957864823775.issue21685@psf.upfronthosting.co.za>
In-reply-to
Content
Raimondo, the documentation clearly states that the compression method is either inherited from ZipInfo instance (when that one is passed) or set to ZIP_STORED otherwise. Since you're not passing ZipInfo instance, but the string (as the first argument to .writestr), therefore the compression method is set to ZIP_STORED. If you're not set it to ZIP_DEFLATED explicitly, it would work as you expect it. In either case, this behaviour is in accordance with the documentation.
History
Date User Action Args
2014-06-07 13:18:53SilentGhostsetrecipients: + SilentGhost, rai
2014-06-07 13:18:52SilentGhostsetmessageid: <1402147132.97.0.957864823775.issue21685@psf.upfronthosting.co.za>
2014-06-07 13:18:52SilentGhostlinkissue21685 messages
2014-06-07 13:18:52SilentGhostcreate