Apr-20-2025, 05:22 AM
I tried the code in ubuntu and it does not reach maximum recursion depth. It sounds like a bug in Python 3.13. It is especially strange that there is no bug if you omit the
It seemed that you already started a discussion in discuss.python.org but for some reason it disappeared allready.
I hope this will be addressed by Python core developers.
Why is this thread in the Homework forum? Did your teacher ask you to understand the bug?
depth=None
argument.It seemed that you already started a discussion in discuss.python.org but for some reason it disappeared allready.
I hope this will be addressed by Python core developers.
Why is this thread in the Homework forum? Did your teacher ask you to understand the bug?
« We can solve any problem by introducing an extra level of indirection »