[Python-ideas] A suggested feature for difflib

Nick Coghlan ncoghlan at gmail.com
Sun Feb 16 02:15:23 CET 2014


The general idea sounds reasonable to me, but a more appropriate
signature addition may be "line_matcher=SequenceMatcher,
char_matcher=SequenceMatcher". As the Differ docs point out: "Differ
uses SequenceMatcher both to compare sequences of lines, and to
compare sequences of characters within similar (near-matching) lines."

Cheers,
Nick.


More information about the Python-ideas mailing list