[issue7341] test_tarfile failing (file in use when deleting) on Windows buildbots

Antoine Pitrou report at bugs.python.org
Wed Nov 18 14:43:44 CET 2009


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

Le mercredi 18 novembre 2009 à 12:11 +0000, Lars Gustäbel a écrit :
> Lars Gustäbel <lars at gustaebel.de> added the comment:
> 
> Any idea why the 2.x buildbots aren't failing? The code is basically the
> same. Coincidence?

No, the difference is that exception objects carry the traceback with
them in 3.x, which keeps alive a reference cycle long enough for
`fileobj` not to be garbage collected before the next test run.

----------

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


More information about the Python-bugs-list mailing list