New submission from Collin Winter <coll...@gmail.com>: Currently (r72673), test_urllib2_localnet leaks references. This is due to state implicitly shared between tests. The attached patch fixes this by removing the shared state.
The problem is also present in py3k. I'll port the patch once I commit to trunk. Should this be backported so we can take test_urllib2_localnet off the refleak test blacklist in Misc/build.sh in those branches? ---------- components: Tests files: urllib2_localnet.patch keywords: patch messages: 87846 nosy: collinwinter severity: normal stage: patch review status: open title: Fix refleaks in test_urllib2_localnet type: behavior versions: Python 2.7, Python 3.1 Added file: http://bugs.python.org/file13991/urllib2_localnet.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6032> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com