]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Move the 'import os' in URLopener.cleanup() to inside the block
authorGuido van Rossum <guido@python.org>
Thu, 30 Jan 1997 15:54:58 +0000 (15:54 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 30 Jan 1997 15:54:58 +0000 (15:54 +0000)
commitd23d9409f311d53e0968fd65a6cdab1777e410ab
tree85be5a6f64303af4ac56b1c1b7346fbcb91d6e54
parentf5c20575cb7aa96490520a88c9c8f7aec6a45f37
Move the 'import os' in URLopener.cleanup() to inside the block
guarded by 'if self.tempcache', to reduce the likelihood of this
causing an exception when invoked during __del__...
Lib/urllib.py