[issue33240] shutil.rmtree fails when the inner floder is opened in Explorer on Windows

Yu Liu report at bugs.python.org
Mon Apr 9 03:02:02 EDT 2018


Yu Liu <neophyliam at gmail.com> added the comment:

This time I run it a couple of consecutive times manually. The result shows that the first time it retried 12 times and the wait time was 0.0004259171330071893. Then it seems to be steady, and the num_retried is 3 or 4, and the wait_time is about 0.00025.

I also run it without `bar` opened in Explorer. The num_retried is 0 and the wait_time is 4.46745114706336e-05.

Because of some reasons, I can't post the exact results here. I will run it on another computer later and post the results if you need all of the exact results.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33240>
_______________________________________


More information about the Python-bugs-list mailing list