summaryrefslogtreecommitdiffstats
path: root/Lib/zipfile.py
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace normalization.Tim Peters2001-09-181-1/+1
|
* [ #458701 ] Patch to zipfile.py for JavaFinn Bock2001-09-051-5/+9
| | | | | Patch by Jim Ahlstrom which lets java's zipfile classes read zipfiles create by zipfile.py.
* Make sure path names inserted into ZIP files are normalized to use "/" asFred Drake2001-07-191-1/+12
| | | | | | the directory separator, as required by the format specification. This closes SF bug #440693.
* Fix one bare except: clause.Fred Drake2001-05-111-1/+1
|
* Mark Favas points out that there's an 'self.fp.flush()' call in theGuido van Rossum2001-04-141-1/+1
| | | | | | 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.
* Try an except: after an import into "except ImportError".Guido van Rossum2001-04-101-1/+1
| | | | | | This came out of SF bug #411881. Note that there's another unqualified except: still.
* Sf bug [ #412214 ] ZipFile constructor leaves files open.Tim Peters2001-04-041-0/+14
| | | | | | 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.
* Whitespace normalization.Tim Peters2001-03-291-5/+5
|
* Itamar Shtull-Trauring <itamar@maxnm.com>:Fred Drake2001-03-261-8/+31
| | | | | Add support to zipfile to support opening an archive represented by an open file rather than a file name.
* final round of __all__ lists (I hope) - skipped urllib2 because Moshe may beSkip Montanaro2001-03-011-0/+3
| | | | giving it a slight facelift
* Define lots of constants for indexes into the structures for the fileFred Drake2001-02-281-7/+51
| | | | | | | | | | | | | 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.
* Fix SF tracker bug #403871: AttributeError in ZipFile.__del__() whenFred Drake2001-02-281-0/+2
| | | | there was an IOError opening the underlying file in ZipFile.__init__().
* Whitespace normalization. Top level of Lib now fixed-point for reindent.py!Tim Peters2001-01-151-59/+59
|
* Delay import of py_compile until needed, since is is only used by theFred Drake2000-10-021-31/+45
| | | | | | | | PyZipFile class. End sentences in docstrings with periods. Reformat docstrings to be more similar to those of other modules.
* Always use the same name for the exception defined in this module!Fred Drake2000-09-291-12/+12
| | | | | | Error reported via email by Pete Shinners <pete@visionart.com>. Fixed some indentation inconsistencies.
* James C. Ahlstron <jim@interet.com>:Fred Drake2000-06-131-1/+1
| | | | Thanks to Hubert Hoegl <hubert.hoegl@dlr.de> for finding this bug.
* Zip file handling module, by Jim Ahlstrom.Guido van Rossum2000-03-311-0/+470