[Python-Dev] Lack of sequential decompression in the zipfile module

"Martin v. Löwis" martin at v.loewis.de
Fri Feb 16 23:57:41 CET 2007


Derek Shockey schrieb:
> Since I was writing a script to work with potentially very large zipped 
> files, I took it upon myself to write an extract() method for zipfile, 
> which is essentially an adaption of the read() method modeled after 
> tarfile's extract(). I feel that this is something that should really be 
> provided in the zipfile module to make it more usable. I'm wondering if 
> this has been discussed before, or if anyone has ever viewed this as a 
> problem. I can post the code I wrote as a patch, though I'm not sure if 
> my file IO handling is as robust as it needs to be for the stdlib. I'd 
> appreciate any insight into the issue or direction on where I might 
> proceed from here so as to fix what I see as a significant problem.


I think something like this is patch #1121142.

Regards,
Martin


More information about the Python-Dev mailing list