Package: python3-levenshtein Version: 0.11.2-2 Severity: normal Here is a test case:
import Levenshtein s1, s2 = "new york mets", "the wonderful new york mets" opcodes = [("insert", 0, 0, 0, 14), ("equal", 0, 13, 14, 27)] Levenshtein.matching_blocks(opcodes, s1, s2) This testcase runs fine with python2, but python3 gives: Traceback (most recent call last): File "./min_test.py", line 5, in <module> Levenshtein.matching_blocks(opcodes, s1, s2) TypeError: inverse expected a list of edit operations This is fixed upstream in version 0.12.0: https://pypi.python.org/pypi/python-Levenshtein/0.12.0 https://github.com/ztane/python-Levenshtein/commit/c4d112c7147391a62b46403522057998157740f4 This fix is needed to use the module fuzzywuzzy with Python 3. https://github.com/seatgeek/fuzzywuzzy/issues/79 -- Edward. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org