]> granicus.if.org Git - python/commit
Explicitly close the socket and temp file in URLopener.retrieve(), so
authorGuido van Rossum <guido@python.org>
Tue, 26 Aug 1997 19:06:40 +0000 (19:06 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 26 Aug 1997 19:06:40 +0000 (19:06 +0000)
commitab0abdcef8dac933d838cb584dd4b728c2474b1e
tree4514f15ac2574473fdf6807aa5a3b0325fe7bc4b
parent36b8f945e794e8483a185db3b6847c083a724e44
Explicitly close the socket and temp file in URLopener.retrieve(), so
that multiple retrievals using the same connection will work.

This leaves open the more general problem that after
    f = urlopen("ftp://...")
f must be closed before another retrieval from the same host should be
attempted.
Lib/urllib.py