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

2007-03-07 Thread Martin v. Löwis
Nilton Volpato schrieb: > My Google Summer of Code project was just about this, and I > implemented a lot of nice features. These features include: file-like > access to zip member files (which solves your problem, and also > provides a real file-like interface including .read(), .readline(), > etc

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

2007-03-07 Thread Greg Ewing
Nilton Volpato wrote: > If you open many member files concurrently how does file cache will > work? Or how many seeks you will have to do if you read from one > member file and from other alternatingly? If the OS file system cache is doing its job properly, I don't think the seeking should be a p

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

2007-03-06 Thread Nilton Volpato
Hi Derek, On 2/16/07, Derek Shockey <[EMAIL PROTECTED]> wrote: > Though I am an avid Python programmer, I've never forayed into the area of > developing Python itself, so I'm not exactly sure how all this works. > > I was confused (and somewhat disturbed) to discover recently that the > zipfile mo

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

2007-02-19 Thread Alan McIntyre
On 2/17/07, Alan McIntyre <[EMAIL PROTECTED]> wrote: > I ran into the same thing and made a patch a long while ago (the one > Martin mentioned): > > https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1121142&group_id=5470 > > I am actually working on it this weekend; if you'd like to exch

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

2007-02-17 Thread Alan McIntyre
On 2/16/07, Derek Shockey <[EMAIL PROTECTED]> wrote: > 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

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

2007-02-16 Thread Michele Simionato
Derek Shockey gmail.com> writes: > > Though I am an avid Python programmer, I've never forayed into the area of developing Python itself, so I'm not exactly sure how all this works.I was confused (and somewhat disturbed) to discover recently that the zipfile module offers only one-shot decompres

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

2007-02-16 Thread Martin v. Löwis
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 tha

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

2007-02-16 Thread Brett Cannon
On 2/16/07, Derek Shockey <[EMAIL PROTECTED]> wrote: > Though I am an avid Python programmer, I've never forayed into the area of > developing Python itself, so I'm not exactly sure how all this works. > > I was confused (and somewhat disturbed) to discover recently that the > zipfile module offers

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

2007-02-16 Thread Derek Shockey
Though I am an avid Python programmer, I've never forayed into the area of developing Python itself, so I'm not exactly sure how all this works. I was confused (and somewhat disturbed) to discover recently that the zipfile module offers only one-shot decompression of files, accessible only via th