[issue2142] difflib.unified_diff(...) produces invalid patches

anatoly techtonik report at bugs.python.org
Thu May 13 18:01:29 CEST 2010


anatoly techtonik <techtonik at gmail.com> added the comment:

You mean that this patch sits in here for 2 years already? This suxx.

And nobody added the tag 'easy', because people haven't explicitly requested tracker privileges? That suxx. 

And it won't be in 2.7 because of that.. I am disappointed.

Why this issue is not labeled as 'difflib' related? How are people supposed to find this one?

----------
title: naive use of ''.join(difflib.unified_diff(...)) results in bogus diffs with inputs that don't end with end-of-line char (same with context_diff) -> difflib.unified_diff(...) produces invalid patches

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2142>
_______________________________________


More information about the Python-bugs-list mailing list