[issue8355] diff.py produce unified format by default

Brian Curtin brian.curtin at gmail.com
Fri Apr 9 23:42:32 CEST 2010


On 2010-04-09, Eric Smith <report at bugs.python.org> wrote:
>
> Eric Smith <eric at trueblade.com> added the comment:
>
> I tried -p1 and it failed, but no matter. The contents were clear enough,
> and exactly how I would have changed the code.
>
> $ patch -p1 < 8355.diff-py-unified-by-default.diff
> patching file Tools/scripts/diff.py
> Hunk #1 FAILED at 13.
> Hunk #2 FAILED at 34.
> 2 out of 2 hunks FAILED -- saving rejects to file Tools/scripts/diff.py.rej
>
> The new patch worked for me.
>
> I'm -0 on this change, for what it's worth. It's probably all irrelevant,
> anyway. I can't imagine anyone actually generates their diffs with diff.py.
> As a useful demonstration of how difflib works, it does its job as it
> currently stands.
>
> ----------
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue8355>
> _______________________________________
> _______________________________________________
> Python-bugs-list mailing list
> Unsubscribe:
> http://mail.python.org/mailman/options/python-bugs-list/brian.curtin%40gmail.com
>
>


More information about the Python-bugs-list mailing list