[issue26945] difflib.HtmlDiff().make_file() treat few change as whole line change

2016-08-08 Thread SilentGhost
SilentGhost added the comment: JW, this doens't seem anything to do with the original issue. I'm going to close this issue and open a new one that's dealing with your case, I have a fix for it. -- resolution: -> not a bug stage: -> resolved status: open -> closed

[issue26945] difflib.HtmlDiff().make_file() treat few change as whole line change

2016-08-08 Thread JW
JW added the comment: please find attached the reproducer C.7z this issue only happens with this format of data before and after the difference -- Added file: http://bugs.python.org/file44046/C.7z ___ Python tracker

[issue26945] difflib.HtmlDiff().make_file() treat few change as whole line change

2016-08-05 Thread SilentGhost
SilentGhost added the comment: JW, could you submit a minimal reproducer for this? -- ___ Python tracker ___

[issue26945] difflib.HtmlDiff().make_file() treat few change as whole line change

2016-08-05 Thread JW
JW added the comment: i found that making a change similar to this one in a certain place towards then end of my 300 or so long list of strings produces issues further along: making a change of Latitude=1.1 -> Latitude=111.1 correctly shows as 11 added; however subsequent matching lines then

[issue26945] difflib.HtmlDiff().make_file() treat few change as whole line change

2016-05-04 Thread SilentGhost
SilentGhost added the comment: This seems to do with the percentage of affected characters, the threshold seems to be about a quarter. Not sure this is a bug. -- nosy: +SilentGhost ___ Python tracker

[issue26945] difflib.HtmlDiff().make_file() treat few change as whole line change

2016-05-04 Thread Fairuz Zack
New submission from Fairuz Zack: html diff threat 2.011 as whole line added instead of only "11" is changed. example file i want to diff is under bug_report.txt. seems the diff not reasonable for other line in the txt as well. -- components: Library (Lib) files: bug_report.txt