]> granicus.if.org Git - python/commit
Fix bug reported by Harri Pasanen: gzip + cPickle doesn't work. The
authorJeremy Hylton <jeremy@alum.mit.edu>
Wed, 13 May 1998 21:49:58 +0000 (21:49 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Wed, 13 May 1998 21:49:58 +0000 (21:49 +0000)
commitee918cb48794ca18dbce6b3449d6f977d2142c60
treefa363898de893ec0fd89db441d9f1db1e96c1e40
parented7adcff731695446e2d2add4ff03f67989e6ac3
Fix bug reported by Harri Pasanen: gzip + cPickle doesn't work.  The
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
Lib/gzip.py