[Python-bugs-list] gzip missing feature -- GzipFile.readlines(number) (PR#56)

mso@sense-sea-MegaSub-1-220.oz.net mso@sense-sea-MegaSub-1-220.oz.net
Thu, 19 Aug 1999 17:47:01 -0400 (EDT)


Full_Name: Mike Orr
Version: 1.5.2
OS: Linux
Submission from: passenger.ssc.com (216.39.159.17)


gzip.GzipFile is supposed to imitate a Python file object, but it does not
support calling the readlines method with an integer argument to limit the
amount of data read.  

This makes it difficult to write programs which handle compressed and
uncompressed data interchangeably, if they depend on third-party functions
which call the readlines(number) method.