5 ms·
Python limits the stack to a 1000 and a series of recursive calls hitting that ceiling will throw a `RecursionError`.
by alexanderdmitri 7y ago
Python limits the stack to a 1000 and a series of recursive calls hitting that ceiling will throw a `RecursionError`.
- gilch 7y agoYou can actually set this to a higher number in the sys module. Maybe not too high if you don't like segfaults.