What\'s the maximum level of recursion and how do I change it in Python?
The default is 1000 levels deep and you can change that using the setrecursionlimit function in the sys module.
setrecursionlimit
sys
Warning:
Beware that some operating systems may start running into problems if you go much higher due to limited stack space.