commit | ca173e2a0719c174af0195873b67e59abd4230cf | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Tue Dec 08 19:35:12 2009 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Tue Dec 08 19:35:12 2009 +0000 |
tree | 2895f3b8b8106fa5178f6d7d60fc4e25f02835fb | |
parent | 8c54e7819add95f28dd6dc3a4bfcb9ca596b1073 [diff] [blame] |
Fix transient refleaks in test_urllib. Thanks to Florent Xicluna.
diff --git a/Lib/urllib.py b/Lib/urllib.py index 1c31d48..be77e1d 100644 --- a/Lib/urllib.py +++ b/Lib/urllib.py
@@ -95,6 +95,8 @@ def urlcleanup(): if _urlopener: _urlopener.cleanup() + _safemaps.clear() + ftpcache.clear() # check for SSL try: