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

Ray.Allen report at bugs.python.org
Sat Mar 12 16:28:20 CET 2011


Ray.Allen <ysj.ray at gmail.com> added the comment:

> I re-read the discussion on python-dev, where it was suggested to add a keyword argument to get the old behavior.  Have you considered it?


IIUC, at the time of that discusstion, 3.2 is pre-beta so the suitable option is to add "\No newline etc" by default and add a keyword to get the old behavior, but now it is for 3.3. I wonder if 3.3 is a chance to totally get rid of the *OLD WRONG* behavior.

----------

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


More information about the Python-bugs-list mailing list