diff options
author | R. David Murray <rdmurray@bitdance.com> | 2010-04-12 16:35:19 (GMT) |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2010-04-12 16:35:19 (GMT) |
commit | 1a14d3d169a34293f416abe4a41e4141c4e07965 (patch) | |
tree | 66c9de2d714533b17be4f16c7326da7771242c0d /Misc | |
parent | 9aca91d7d73121a73cdf5d742a8b6cae30989f50 (diff) | |
download | cpython-1a14d3d169a34293f416abe4a41e4141c4e07965.zip cpython-1a14d3d169a34293f416abe4a41e4141c4e07965.tar.gz cpython-1a14d3d169a34293f416abe4a41e4141c4e07965.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -747,6 +747,7 @@ Christian Tanzer Steven Taschuk Monty Taylor Amy Taylor +Anatoly Techtonik Tobias Thelen James Thomas Robin Thomas @@ -15,6 +15,10 @@ Core and Builtins Library ------- +- Issue #7585: difflib context and unified diffs now place a tab between + filename and date, conforming to the 'standards' they were originally + designed to follow. This improves compatibility with patch tools. + - Issue #7472: Fixed typo in email.encoders module; messages using ISO-2022 character sets will now consistently use a Content-Transfer-Encoding of 7bit rather than sometimes being marked as 8bit. |