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 nirai
Recipients asnakelover, brian.curtin, jackdied, nirai, pitrou
Date 2009-12-16.13:02:39
SpamBayes Score 1.9206858e-14
Marked as misclassified No
Message-id <1260968563.94.0.947814596468.issue7471@psf.upfronthosting.co.za>
In-reply-to
Content
Right, using the io module makes GzipFile as fast as zcat.

I submit a new patch this time for Python 2.7, however, it is not a 
module rewrite, but again minimal refactoring.

GzipFile is now derived of io.BufferedRandom, and as result the 
functionality of GzipFile changed since it used to behave differently 
than io classes. For example write() did not return number of bytes 
written, etc... Also, I hacked it a little to make it work with a raw 
stream which is either readable or writable but not both. If it is 
unacceptable, or if you prefer a module rewrite, I don't mind discussing 
and evolving this further.
History
Date User Action Args
2009-12-16 13:02:44niraisetrecipients: + nirai, pitrou, jackdied, brian.curtin, asnakelover
2009-12-16 13:02:43niraisetmessageid: <1260968563.94.0.947814596468.issue7471@psf.upfronthosting.co.za>
2009-12-16 13:02:41nirailinkissue7471 messages
2009-12-16 13:02:41niraicreate