This article is part of in the series
Published: Wednesday 1st November 2023

Resetting the Recursion Limit in Python

Python's default recursion limit is 1000, meaning that Python won't let a function call on itself more than 1000 times, which for most people is probably enough.