Computing edit distance between arbitrary Python sequences.