[issue6584] gzip module has no custom exception
Serhiy Storchaka
report at bugs.python.org
Tue Dec 4 11:32:23 CET 2012
Serhiy Storchaka added the comment:
read32() should raise BadGzipFile when less than 4 bytes read. Also you should introduce read8() function which raises BadGzipFile when less than 1 byte read.
See also issue4844 and issue14315 for zipfile.
----------
stage: commit review -> needs patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6584>
_______________________________________
More information about the Python-bugs-list
mailing list