This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: ZipFile returns compressed data stream when encountering unsupported compression method
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.1, Python 3.2, Python 2.7
Status: closed Resolution: duplicate
Dependencies: Superseder: zipfile should raise an exception for unsupported compression methods
View: 14313
Assigned To: Nosy List: serhiy.storchaka, ymgve
Priority: normal Keywords:

Created on 2009-04-05 15:57 by ymgve, last changed 2022-04-11 14:56 by admin. This issue is now closed.

File name Uploaded Description Edit 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 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 
Date User Action Args
2022-04-11 14:56:47adminsetgithub: 49951
2012-12-03 15:57:12serhiy.storchakasetstatus: open -> closed

nosy: + serhiy.storchaka
resolution: duplicate
superseder: zipfile should raise an exception for unsupported compression methods
stage: test needed -> resolved
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