This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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.003610093
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