[issue45616] Python Launcher Matches 3.10 instead of 3.1

2021-10-26 Thread Yu Liu
Yu Liu added the comment: Had a quick look at the launcher file. Maybe something like this? diff --git a/PC/launcher.c b/PC/launcher.c index fbfb49a..a965a9d 100644 --- a/PC/launcher.c +++ b/PC/launcher.c @@ -542,7 +542,7 @@ find_python_by_version(wchar_t const * wanted_ver

[issue45616] Python Launcher Matches 3.10 instead of 3.1

2021-10-26 Thread Yu Liu
Yu Liu added the comment: Had a quick look in the launcher file. Maybe something like this? diff --git a/PC/launcher.c b/PC/launcher.c index fbfb49a..a965a9d 100644 --- a/PC/launcher.c +++ b/PC/launcher.c @@ -542,7 +542,7 @@ find_python_by_version(wchar_t const * wanted_ver

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

2018-04-09 Thread Yu Liu
Yu Liu <neophyl...@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.0008691726957

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

2018-04-09 Thread Yu Liu
Yu Liu <neophyl...@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 wai

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

2018-04-08 Thread Yu Liu
Yu Liu <neophyl...@gmail.com> added the comment: The result is 0.00026412295632975946 on my computer. Does this mean it is caused by an anti-malware program? -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

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

2018-04-07 Thread Yu Liu
New submission from Yu Liu <neophyl...@gmail.com>: Given the following directory structure on a Windows machine: - foo - bar a call to `shutil.rmtree("foo")` will fail when the inner folder `bar` is opened in an Explorer. The error message indicates the `foo` directory is n