Python doc problems example: gzip module

en.karpachov at en.karpachov at
Thu Sep 1 19:06:52 CEST 2005

On 1 Sep 2005 07:24:26 -0700
Peter  Wang wrote:

> >> Constructor for the GzipFile class, which simulates most of the methods
> >> of a file object, with the exception of the readinto() and truncate()
> >
> > yeah, blab blab blab. what the fuck are you talking about? So, how to
> > use it?
> >> and in this case the original filename is not included in the header.
> >
> > what the fuck??
> >> since you might wish to append more material after the compressed data.
> >> This also allows you to pass a StringIO object opened for writing as
> >> fileobj, and retrieve the resulting memory buffer using the StringIO
> >> object's getvalue() method.
> >
> > huh? append more material? pass a StringIO? and memory buffer?
> you see, not everyone who uses GzipFile will be decompressing files.

Am I the only one who thinks you are talking with some perverted kind of
emacs-doctor-like or elise-like computer program?


More information about the Python-list mailing list