[issue9759] GzipFile object should raise ValueError on .read() after .close()

Jeffrey Finkelstein report at bugs.python.org
Wed Sep 15 19:35:44 CEST 2010


Jeffrey Finkelstein <jeffrey.finkelstein at gmail.com> added the comment:

Here's the updated patch, which checks whether the file is closed on each call to read(), write(), and flush(), along with a test.

----------
Added file: http://bugs.python.org/file18893/issue9759.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9759>
_______________________________________


More information about the Python-bugs-list mailing list