[issue12167] test_packaging reference leak
report at bugs.python.org
Thu Jun 16 00:04:05 CEST 2011
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
test_dist and test_bdist_dumb leak because of the _path_created global variable of packaging.util, used indirectly by copy_tree().
# cache for by mkpath() -- in addition to cheapening redundant calls,
# eliminates redundant "creating /foo/bar/baz" messages in dry-run mode
_path_created = set()
I don't how/when this set should be cleared.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list