[issue10791] Wrapping TextIOWrapper around gzip files

Antoine Pitrou report at bugs.python.org
Thu Dec 30 00:10:51 CET 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

> C or not, wrapping a BZ2File instance with a TextIOWrapper to get text
> still seems like something that someone might want to do.  I doubt it
> would take much modification to give BZ2File instances the required
> set of methods.

BZ2File uses FILE pointers internally so it may be more complicated than
it looks to be (because the methods may not have the right semantics).

----------

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


More information about the Python-bugs-list mailing list