Toshihiro Kamiya added the comment:
I think it may be difficult to understand the error message that deleting a
directory causes "RecursionError or stack overflow", though.
I hope the issue reported as msg377358 will be resolved i
Toshihiro Kamiya added the comment:
Thank you, eryksun, for pointing out the cause of the problem. I have modified
the test script and it can now be run on Windows.
The attached file is a revised version of the reproduction script, which
reflects the modifications made to the test script to
Toshihiro Kamiya added the comment:
Sorry, the "(snip)" means that it was omitted because it was too long.
I' ll attach a screenshot.
--
Added file: https://bugs.python.org/file50477/FF2dfQ_acAc497b.png
___
Python tracker
<https
New submission from Toshihiro Kamiya :
When I was writing unit tests, I noticed that os.chdir in the unittest test
case failed with RecursionError.
It seems to work fine on Ubuntu 20.04, but fails on Windows 10 (might fail on
macOS).
The attached file is a minimal code to reproduce this
New submission from Toshihiro Kamiya :
I found the syntax of collections.defaultdict is confusing, at least to
me.
When I need a defaultdict of int, that is, a defaultdict which contains
int objects, I can write simply:
a = defaultdict(int)
However, when I want a defaultdict of defaultdict
New submission from Toshihiro Kamiya :
The value of sys.version includes a new-line char in GCC build.
'2.5.2 (r252:60911, Oct 5 2008, 19:24:49) \n[GCC 4.3.2]'
MSC build doesn't.
'2.6.2 (r262:71605, Apr 14 2009, 22:46:50) [MSC v.1500 64 bit (AMD64)]'
This seems