[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1834628 - /subversion/trunk/subversion/tests/cmdline/patch_tests.py

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 29 Jun 2018 17:53:18 +0000

julianfoad_at_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
Received on 2018-06-29 19:53:27 CEST

This is an archived mail posted to the Subversion Dev mailing list.