Bugs item #1804008, was opened at 2007-09-28 00:35 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1804008...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: None Status: Open Resolution: None Priority: 6 Private: No Submitted By: Francesco Cosoleto (cosoleto) Assigned to: Nobody/Anonymous (nobody) Summary: showDiff() highlighting limitation due to difflib design
Initial Comment: showDiff() can fail to highlight a char-by-char difference because Python difflib seems don't support fully char-by-char comparison.
Please see in Python tracker:
* issue #1528074: "difflib.SequenceMatcher.find_longest_match() wrong result" (http://bugs.python.org/issue1528074)
* issue #1678345: "A fix for the bug #1528074 [warning: quite slow]" (http://bugs.python.org/issue1678345)
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody) Date: 2008-01-25 13:38
Message: Logged In: NO
Guess this is an example http://bildr.no/view/146822
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto) Date: 2007-09-28 00:38
Message: Logged In: YES user_id=181280 Originator: YES
File Added: difflib_test.py
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1804008...