Message132902
> Nadeem Vawda <nadeem.vawda@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.
Well, ideally, read1() should satisfy the condition stated in the
BufferedIOBase documentation - namely, that it issues at most one read()
call on the underlying stream. |
|
Date |
User |
Action |
Args |
2011-04-03 22:41:03 | pitrou | set | recipients:
+ pitrou, vstinner, nadeem.vawda, eric.araujo, alex, r.david.murray, gruszczy, dabeaz |
2011-04-03 22:41:02 | pitrou | link | issue10791 messages |
2011-04-03 22:41:02 | pitrou | create | |
|