subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <...@daniel.shahaf.name>
Subject Re: svn commit: r1834628 - /subversion/trunk/subversion/tests/cmdline/patch_tests.py
Date Fri, 29 Jun 2018 17:53:18 GMT
julianfoad@apache.org wrote on Thu, 28 Jun 2018 17:25 +0000:
> +    unidiff_patch += ['\ No newline at end of property\n']

The sequence <backslash><space> will be a SyntaxError in a future version of Python:

[[[
% curl https://docs.python.org/3/reference/lexical_analysis.html#literals | me
    Changed in version 3.6: Unrecognized escape sequences produce a
    DeprecationWarning. In some future version of Python they will be a
    SyntaxError.
]]]

Therefore, The first slash should be doubled.

Cheers,

Daniel

Mime
View raw message