[New-bugs-announce] [issue5701] ZipFile returns compressed data stream when encountering unsupported compression method

Yngve AAdlandsvik report at bugs.python.org
Sun Apr 5 17:57:31 CEST 2009


New submission from Yngve AAdlandsvik <ymgve at start.no>:

The attached .zip archive contains two uncompressed files (2!
SCHEME.Z64, 3!SCHEME.Z64) and two files compressed with IMPLODE (1!
SCHEME.Z64, 4!SCHEME.Z64), a compression method not currently supported 
in ZipFile.

When using ZipFile.read() on the latter files, the compressed data 
stream is returned, while I assume the proper response would be to 
throw an exception of some kind to signal that the method is 
unsupported.

----------
components: Library (Lib)
files: Scheme.zip
messages: 85522
nosy: ymgve
severity: normal
status: open
title: ZipFile returns compressed data stream when encountering unsupported compression method
versions: Python 2.6
Added file: http://bugs.python.org/file13621/Scheme.zip

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5701>
_______________________________________


More information about the New-bugs-announce mailing list