New submission from Silas Sewell <si...@sewell.org>:
When adding a fileobj that is not seekable to a zip using the zipfile module, the optional signature value 0x08074b50 is not included. This breaks certain zip implementations, including the builtin MacOS Archive Utility. See https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT sections 4.3.9.3 and 4.3.9.4 ---------- components: Library (Lib) files: zip_stream_example.py messages: 323943 nosy: silas priority: normal severity: normal status: open title: zipfile: does not include optional descriptor signature versions: Python 3.5, Python 3.6, Python 3.7, Python 3.8 Added file: https://bugs.python.org/file47760/zip_stream_example.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34472> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com