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

Hirokazu Yamamoto report at bugs.python.org
Sun Sep 12 07:09:59 CEST 2010


Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp> added the comment:

I created separate small test case to reproduce, and I tried it on
Python2.7, I couldn't reproduce the issue. And tried it on Python3.1,
I couldn't there neither. (Sorry about that... I included 3.1 in
version box)

And exception might not be related. Because error still occurred
even if I removed "#" before exc_clear() in my attached script.

But if I removed "#" before gc.collect(), test case runs fine.

And I copied Python3.1's Lib/tarfile.py into Python3.2's Lib,
still error occurred. Maybe it's not problem of tarfile module
itself ....?

----------
versions:  -Python 3.1
Added file: http://bugs.python.org/file18855/test_tar_pipe_open_read_error.py

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


More information about the Python-bugs-list mailing list