New submission from Daniel Holth <dho...@fastmail.fm>:
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. ---------- components: Library (Lib) messages: 366028 nosy: alanmcintyre, dholth, serhiy.storchaka, twouters priority: normal severity: normal status: open title: Awkward to set compression on writeable ZipFile.open() versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40233> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com