Sion Arrowsmith wrote: > Hari Sekhon <[EMAIL PROTECTED]> wrote: (snip) >>The python zipfile module is obviously broken... > > This isn't at all obvious to me.
zipfile.read() does not seem to take full advantage of zlib's decompressobj's features. This could perhaps be improved (left as an exercice to the OP, who is obviously very good at detecting broken memory management <g>). Also, there's a known bug with file headers beginning past 2+GB - which is not a very common case... http://sourceforge.net/tracker/index.php?func=detail&aid=1189216&group_id=5470&atid=105470 So yes, there is actually something broken - but this has nothing to do with the OP problem - *and* there are actually some limitions (FWIW, the main goal of zipfile was mostly to implement support for zipped python packages, not to replace Winzip). But what, the OP is going to fix this, isn't he ?-) -- bruno desthuilliers python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for p in '[EMAIL PROTECTED]'.split('@')])" -- http://mail.python.org/mailman/listinfo/python-list