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 dholth
Recipients alanmcintyre, dholth, serhiy.storchaka, twouters
Date 2020-04-08.23:14:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586387645.18.0.880885386366.issue40233@roundup.psfhosted.org>
In-reply-to
Content
It looks like this is the current API to set compression at the individual file level when writing with ZipFile.open()

        z.compression = zipfile.ZIP_STORED
        data_writer = z.open(zip_info or filename, "w")
        z.compression = saved

It would be useful to have a parameter or to honor the compression setting of the passed ZipInfo.
History
Date User Action Args
2020-04-08 23:14:05dholthsetrecipients: + dholth, twouters, alanmcintyre, serhiy.storchaka
2020-04-08 23:14:05dholthsetmessageid: <1586387645.18.0.880885386366.issue40233@roundup.psfhosted.org>
2020-04-08 23:14:05dholthlinkissue40233 messages
2020-04-08 23:14:05dholthcreate