[issue10791] Wrapping TextIOWrapper around gzip files

R. David Murray report at bugs.python.org
Wed Dec 29 22:59:16 CET 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

Since GZipFile inherits from BufferedIOBase, and TextIOWrapper is supposed to be designed to wrap a BufferedIOBase object, I would say yes it ought to work.  On the other hand there may also be a doc error there, since it may be that TextIOWrapper actually needs to wrap one of the subclasses of BufferedIOBase.

----------
nosy: +pitrou, r.david.murray
stage:  -> needs patch
versions: +Python 2.7, Python 3.1

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


More information about the Python-bugs-list mailing list