Tim Peters added the comment: This is an unfortunate consequence of the default "autojunk" feature. You can turn that off by passing `autojunk=False`, like so:
match = SequenceMatcher(None, string1, string2, autojunk=False)... ^^^^^^^^^^^^^^^^ Then it returns a match of size 534. ---------- nosy: +tim.peters _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30920> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com