commit | ab0abdcef8dac933d838cb584dd4b728c2474b1e | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Aug 26 19:06:40 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Aug 26 19:06:40 1997 +0000 |
tree | 4514f15ac2574473fdf6807aa5a3b0325fe7bc4b | |
parent | 36b8f945e794e8483a185db3b6847c083a724e44 [diff] |
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.