[Python-ideas] Dart like multi line strings identation

Nick Coghlan ncoghlan at gmail.com
Sun Apr 1 05:31:19 EDT 2018


On 1 April 2018 at 19:24, Chris Angelico <rosuav at gmail.com> wrote:
> Since the entire point of the Py3 u"..." prefix is compatibility with
> Py2, the semantics have to be retained. There's no point supporting
> ur"..." in Py3 if it's not going to produce the same result as in Py2.

Right, "ur" strings were originally taken out in Python 3.0, and then
we made the decision *not* to add them back when PEP 414 restored
other uses of the "u" prefix:
https://www.python.org/dev/peps/pep-0414/#exclusion-of-raw-unicode-literals

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-ideas mailing list