Message84529
About test_urllib2_localnet, this leak happens because FakeProxyHandler
has class variable digest_auth_handler and its instance variables are
modified. Following workaround can fix this leak, but I'm not sure this
can be committed.
Index: Lib/test/test_urllib2_localnet.py
===================================================================
--- Lib/test/test_urllib2_localnet.py (revision 70694)
+++ Lib/test/test_urllib2_localnet.py (working copy)
@@ -241,6 +241,7 @@
def tearDown(self):
self.server.stop()
+ FakeProxyHandler.digest_auth_handler.__init__()
def test_proxy_with_bad_password_raises_httperror(self):
self._digest_auth_handler.add_password(self.REALM, self.URL, |
|
Date |
User |
Action |
Args |
2009-03-30 08:11:01 | ocean-city | set | recipients:
+ ocean-city, pitrou |
2009-03-30 08:11:00 | ocean-city | set | messageid: <1238400660.98.0.801719040465.issue5596@psf.upfronthosting.co.za> |
2009-03-30 08:10:59 | ocean-city | link | issue5596 messages |
2009-03-30 08:10:58 | ocean-city | create | |
|