classification
Title: ZipFile returns compressed data stream when encountering unsupported compression method
Type: behavior Stage: test needed
Components: Library (Lib) Versions: Python 3.2, Python 3.1, Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: ymgve
Priority: normal Keywords:

Created on 2009-04-05 15:57 by ymgve, last changed 2010-07-31 15:50 by BreamoreBoy.

Files
File name Uploaded Description Edit
Scheme.zip ymgve, 2009-04-05 15:57 Zip archive containing files compressed with IMPLODE
Messages (1)
msg85522 - (view) Author: Yngve AAdlandsvik (ymgve) Date: 2009-04-05 15:57
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.
History
Date User Action Args
2010-07-31 15:50:31BreamoreBoysetstage: test needed
type: behavior
versions: + Python 3.1, Python 2.7, Python 3.2, - Python 2.6
2009-04-05 15:57:30ymgvecreate