| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Patch by Jim Ahlstrom which lets java's zipfile classes read zipfiles
create by zipfile.py.
|
|
|
|
|
|
| |
the directory separator, as required by the format specification.
This closes SF bug #440693.
|
| |
|
|
|
|
|
|
| |
ZipFile.close() method that should be part of the preceding 'if'
block. On some platforms (Mark noticed this on FreeBSD 4.2) doing a
flush() on a file open for reading is not allowed.
|
|
|
|
|
|
| |
This came out of SF bug #411881.
Note that there's another unqualified except: still.
|
|
|
|
|
|
| |
This applies the patch Fred Drake created to fix it.
I'm checking it in since I had to apply the patch anyway in order
to test its behavior on Windows.
|
| |
|
|
|
|
|
| |
Add support to zipfile to support opening an archive represented by an
open file rather than a file name.
|
|
|
|
| |
giving it a slight facelift
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
header and central directory structures, and use them as appropriate.
The point being to make it easier to tell what is getting pulled out
where; magic numbers are evil!
Change the computation of the ZipInfo.file_offset field to use the
length of the relevant "extra" field -- there are two different ones,
and the wrong one had been used. ;-(
This closes SF tracker patch #403276, but more verbosely than the
proposed patch.
|
|
|
|
| |
there was an IOError opening the underlying file in ZipFile.__init__().
|
| |
|
|
|
|
|
|
|
|
| |
PyZipFile class.
End sentences in docstrings with periods.
Reformat docstrings to be more similar to those of other modules.
|
|
|
|
|
|
| |
Error reported via email by Pete Shinners <pete@visionart.com>.
Fixed some indentation inconsistencies.
|
|
|
|
| |
Thanks to Hubert Hoegl <hubert.hoegl@dlr.de> for finding this bug.
|
|
|