[issue10791] Wrapping TextIOWrapper around gzip files

Filip Gruszczyński report at bugs.python.org
Fri Apr 1 18:52:08 CEST 2011


Filip Gruszczyński <gruszczy at gmail.com> added the comment:

Is following change in GzipFile class enough:

    def read1(self, n):
        return self.read(n)

? This satisfies TextIOWrapper to run readline correctly.

----------
nosy: +gruszczy

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


More information about the Python-bugs-list mailing list