New submission from SilentGhost: msg264842 in issue26945 reports an odd results of HtmlDiff.make_file, digging into it I've noticed couple of things: different output to one generated directly from difflib.ndiff and underlying issue further up the stack that generates same faulty output with a slightly modified files.
The patch I'm attaching fixes the issue with different outputs, from make_file and ndiff, by not removing EOL characters, I had to re-generate expected test output file. ---------- components: Library (Lib) files: donttrim.diff keywords: patch messages: 272173 nosy: SilentGhost, jlwing, loewis priority: normal severity: normal stage: patch review status: open title: difflib.HtmlDiff produces different output from difflib.ndiff type: behavior versions: Python 3.5, Python 3.6 Added file: http://bugs.python.org/file44049/donttrim.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27709> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com