diff options
-rw-r--r-- | Lib/urllib.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/urllib.py b/Lib/urllib.py index 2583089..4f455f8 100644 --- a/Lib/urllib.py +++ b/Lib/urllib.py @@ -70,6 +70,8 @@ def urlcleanup(): ftpcache = {} class URLopener: + tempcache = None # So close() in __del__() won't fail + # Constructor def __init__(self, proxies=None): if proxies is None: |