Author nadeem.vawda
Recipients alex, dabeaz, eric.araujo, gruszczy, nadeem.vawda, pitrou, r.david.murray, vstinner
Date 2011-04-03.22:28:48
SpamBayes Score 0.00361009
Marked as misclassified No
Message-id <1301869729.01.0.184154211485.issue10791@psf.upfronthosting.co.za>
In-reply-to
Content
> 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().
History
Date User Action Args
2011-04-03 22:28:49nadeem.vawdasetrecipients: + nadeem.vawda, pitrou, vstinner, eric.araujo, alex, r.david.murray, gruszczy, dabeaz
2011-04-03 22:28:49nadeem.vawdasetmessageid: <1301869729.01.0.184154211485.issue10791@psf.upfronthosting.co.za>
2011-04-03 22:28:48nadeem.vawdalinkissue10791 messages
2011-04-03 22:28:48nadeem.vawdacreate