[issue33240] shutil.rmtree fails when the inner floder is opened in Explorer on Windows
Yu Liu
report at bugs.python.org
Mon Apr 9 08:02:08 EDT 2018
Yu Liu <neophyliam at gmail.com> added the comment:
These are results on another slower machine. Note these results are attained on Windows 10, while the above on Windows 7. Just in case it has some influence.
$ python test.py
num_retries: 6
wait_time: 0.0008691726957804373
$ python test.py
num_retries: 3
wait_time: 0.0007175661796639806
$ python test.py
num_retries: 6
wait_time: 0.0007962191842657514
$ python test.py
num_retries: 3
wait_time: 0.0006970480045504753
$ python test.py
num_retries: 4
wait_time: 0.0009637842810260455
$ python test.py
num_retries: 4
wait_time: 0.001005390580561765
$ python test.py
num_retries: 3
wait_time: 0.000654301806397339
$ python test.py
num_retries: 6
wait_time: 0.0008857012257329832
$ python test.py
num_retries: 4
wait_time: 0.0009227479307990348
$ python test.py
num_retries: 4
wait_time: 0.0008976701612158615
And this is result without `bar` opened in Explorer.
$ python test.py
num_retries: 0
wait_time: 0.00019834235943055225
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33240>
_______________________________________
More information about the Python-bugs-list
mailing list