Python Set Recursion Limit In Python Class