Sys setrecursionlimit. Maximum recursion depth exceeded. sys setrecursionlimit python. max recursion depth python. set recursion limit python.