cleanup setting python recursion limit