[issue3660] reference leaks in test_distutils
Amaury Forgeot d'Arc
report at bugs.python.org
Sat Sep 6 00:34:00 CEST 2008
Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:
It's not only the name, but a copy of the whole module dict just after
import (that's why reload(sys) takes you back the
sys.setdefaultencoding() function).
Actually I found a (hackish) way to clean the 'extension' dict, but this
is not enough: the static variables in xxmodule.c cannot be cleared.
Shall we exclude this test from the leak hunter?
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3660>
_______________________________________
More information about the Python-bugs-list
mailing list