New submission from Chris Rose: It should be possible to provide subclasses or implementations of the SequenceMatcher interface to difflib's various methods that do formatting (for example, unified_diff/context_diff et al).
I've included a patch for it that satisfies my personal itch on the subject (attached). I'd like to have this reviewed for inclusion in 3.5. ---------- components: Library (Lib) files: difflib-sm.patch keywords: patch messages: 212036 nosy: offby1 priority: normal severity: normal status: open title: Difflib should provide the option of overriding the SequenceMatcher type: enhancement versions: Python 3.5 Added file: http://bugs.python.org/file34203/difflib-sm.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20752> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com