[New-bugs-announce] [issue34472] zipfile: does not include optional descriptor signature

Silas Sewell report at bugs.python.org
Thu Aug 23 08:57:59 EDT 2018

New submission from Silas Sewell <silas at 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 and

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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list