Your message dated Thu, 02 Sep 2010 17:59:28 +0200
with message-id <[email protected]>
and subject line Re: Make gzip module not require that underlying file object
support seek
has caused the Debian Bug report #571317,
regarding Make gzip module not require that underlying file object support seek
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
571317: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571317
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3.1
Version: 3.1.1-3
Severity: wishlist
Hi,
I'm writing a program that uses the popularity contest results. Since
downloading the compressed results takes about a quarter of the time
it takes to download the uncompressed results, I'd like to use the
following construct to iterate over the results:
for line in
gzip.GzipFile(fileobj=urllib.request.urlopen('http://popcon.debian.org/by_vote.gz')):
Unfortunately, this fails with the following exception:
Traceback (most recent call last):
File "/home/kraai/bin/rc-bugs", line 76, in <module>
main()
File "/home/kraai/bin/rc-bugs", line 56, in main
for line in
gzip.GzipFile(fileobj=urllib.request.urlopen('http://popcon.debian.org/by_vote.gz')):
File "/usr/lib/python3.1/gzip.py", line 469, in __next__
line = self.readline()
File "/usr/lib/python3.1/gzip.py", line 424, in readline
c = self.read(readsize)
File "/usr/lib/python3.1/gzip.py", line 249, in read
self._read(readsize)
File "/usr/lib/python3.1/gzip.py", line 277, in _read
pos = self.fileobj.tell() # Save current position
io.UnsupportedOperation: seek
I wish that the gzip module didn't require the underlying file object
to support seek so that this construct would work.
--
Matt http://ftbfs.org/kraai
--- End Message ---
--- Begin Message ---
closed as won't fix by upstream. See the rationale in the upstream report.
--- End Message ---