]> granicus.if.org Git - python/commit
Issue #7585: use tab between components in unified and context diff headers.
authorR. David Murray <rdmurray@bitdance.com>
Mon, 12 Apr 2010 16:35:19 +0000 (16:35 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Mon, 12 Apr 2010 16:35:19 +0000 (16:35 +0000)
commit1a14d3d169a34293f416abe4a41e4141c4e07965
tree66c9de2d714533b17be4f16c7326da7771242c0d
parent9aca91d7d73121a73cdf5d742a8b6cae30989f50
Issue #7585: use tab between components in unified and context diff headers.

Instead of spaces between the filename and date (or whatever the string
is that follows the filename, if any) use tabs.  This is what the unix
'diff' command does, for example, and difflib was intended to follow
the 'standard' way of doing diffs.  This improves compatibility with
patch tools.  The docs and examples are also changed to recommended that
the date format used be the ISO 8601 format, which is what modern diff
tools emit by default.

Patch by Anatoly Techtonik.
Doc/library/difflib.rst
Lib/difflib.py
Lib/test/test_difflib.py
Misc/ACKS
Misc/NEWS