Nadeem Vawda <nadeem.va...@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.

Looks good to me.

By the way, BZ2File now works correctly - the fix for issue5863 adds read1().

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10791>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to