[issue9815] test_tarfile sometimes ends with error "Cannot remove dir"

Antoine Pitrou report at bugs.python.org
Tue Sep 14 11:49:11 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

You shouldn't use DEBUG_LEAK except for debugging purposes :)

As the doc mentions: “To debug a leaking program call gc.set_debug(gc.DEBUG_LEAK). Notice that this includes gc.DEBUG_SAVEALL, causing garbage-collected objects to be saved in gc.garbage for inspection.”

It's true that the message at shutdown should be eliminated in this case, though.
Anyway, I've committed a fix in r84798.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9815>
_______________________________________


More information about the Python-bugs-list mailing list