Filip Gruszczyński <grusz...@gmail.com> added the comment: I have created a small patch, that introduces BadGzipFile exception. It is a subclass of IOError, so it would be backward compatible and will be still caught by old code, but this way is distinct from IOError.
---------- keywords: +patch nosy: +gruszczy Added file: http://bugs.python.org/file16565/6584_1.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6584> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com