• R. David Murray's avatar
    Issue #7585: use tab between components in unified and context diff headers. · 1a14d3d1
    R. David Murray yazdı
    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.
    1a14d3d1
test_difflib.py 6.5 KB