Use max() to give your code semantic meaning.

maxlen = max(maxlen, len(values))