summaryrefslogtreecommitdiffstats
path: root/Lib/gzip.py
Commit message (Collapse)AuthorAgeFilesLines
* Patch by Ron Klatchko: fix invariant in _unread(). Also fixedGuido van Rossum1998-08-031-3/+9
| | | | readlines() to behave like it should (return lines with "\n" appended).
* Fix bug reported by Harri Pasanen: gzip + cPickle doesn't work. TheJeremy Hylton1998-05-131-4/+3
| | | | | | | | | problem was a couple of bugs in the readline implementation. 1. Include the '\n' in the string returned by readline 2. Bug calculating new buffer size in _unread Also remove unncessary import of StringIO
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-203/+203
|
* (This fix is really by Jeremy)Guido van Rossum1998-01-271-22/+29
| | | | | | | | | | | Here's my suggested replacement for gzip.py for 1.5.1. I've re-implemeted methods readline and readlines, added an _unread, and tweaked read and _read. I tried a more complicated buffer scheme for unread (using a list of strings and string.join), but it was more complicated and slower. This version is a lot faster than the current version and is still pretty simple.
* When there's no filename, don't make one up.Guido van Rossum1997-12-301-6/+54
| | | | | Added _test() that behaves (a bit) like gzip. Fix a comment (*sequential* access is okay -- *random* access it out!)
* Add the option to pass an open file object to GzipFile. This obviatesGuido van Rossum1997-07-191-55/+44
| | | | the need for the StringIO subclass.
* Adding Jeremy Hylton's gzip module.Guido van Rossum1997-04-301-0/+264
This requires Andrew Kuchling's zlib extension module. It still needs some doc strings.