Re: python 2.4: tarfile tell() and seek() seem to be broeken

2005-06-02 Thread N. Volbers
Am Thu, 02 Jun 2005 17:57:20 +0200 schrieb Lars Gustäbel: > On Wed, 01 Jun 2005 14:58:23 +0200, N. Volbers wrote: > >> - subsequent calls of fd.readline() and fd.tell() will yield the correct >> lines but always the same value from fd.tell(). [...] > > Thank you for

python 2.4: tarfile tell() and seek() seem to be broeken

2005-06-01 Thread N. Volbers
Hello everyone, I noticed that when you open a zipped tarball using 'tarfile' and if you then get the pseudo-file descriptor fd for a file via 'extractfile', then fd.tell() is broken in the following way: - before reading anything from fd, fd.tell() will return 0 (that's still ok) - after reading