]> granicus.if.org Git - python/commit
One patch from Sjoerd and one from Jack.
authorGuido van Rossum <guido@python.org>
Wed, 3 Sep 1997 22:36:15 +0000 (22:36 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 3 Sep 1997 22:36:15 +0000 (22:36 +0000)
commit2b3fd76cc7599630df68444a7a96e97fddd5c0fb
treee3ebfba96b1434b4f502b9f74b07cf7a42719101
parentf01dff7e93993c01f9883de5b456ccac32f550a9
One patch from Sjoerd and one from Jack.

Sjoerd: add separate administration of temporary files created y
URLopener.retrieve() so cleanup can properly remove them.  The old
code removed everything in tempcache which was a bad idea if the user
had passed a non-temp file into it.  (I added a line to delete the
tempcache in cleanup() -- it still seems to make sense.)

Jack: in basejoin(), interpret relative paths starting in "../".  This
is necessary if the server uses symbolic links.
Lib/urllib.py