|
From: Nick J. <re...@bu...> - 2009-01-02 21:29:48
|
New submission from Nick Joyce <ni...@bo...>:
The standard CPython zlib module throws a zlib.error:
>>> import zlib
>>> zlib.decompress('foo')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
zlib.error: Error -3 while decompressing data: incorrect header check
----------
components: Library
files: zlib-error-on-decompress.diff
keywords: patch
messages: 3998
nosy: njoyce
severity: minor
status: open
title: decompressing a malformed stream with zlib results in a java.util.zip.DataFormatException instead of a zlib.error
type: behaviour
Added file: http://bugs.jython.org/file593/zlib-error-on-decompress.diff
_______________________________________
Jython tracker <re...@bu...>
<http://bugs.jython.org/issue1217>
_______________________________________
|