[New-bugs-announce] [issue6032] Fix refleaks in test_urllib2_localnet

Collin Winter report at bugs.python.org
Sat May 16 02:47:14 CEST 2009

New submission from Collin Winter <collinw at 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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list