[issue10791] Wrapping TextIOWrapper around gzip files

Antoine Pitrou report at bugs.python.org
Mon Apr 4 16:18:23 CEST 2011


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

> Here's an implementation of read1() that satisfies that condition, along with
> some relevant unit tests.

Something looks fishy: what happens if size is -1 and EOFError is not
raised?

----------

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


More information about the Python-bugs-list mailing list