
On Friday, May 17, 2013 8:14:39 AM UTC-6, Ron Adam wrote:
On 05/17/2013 06:41 AM, Steven D'Aprano wrote:
They clearly should be in different threads. Line continuation is orthogonal to string continuation. You can have string concatenation on a single line:
s = "Label:\t" r"Data containing \ backslashes"
Can you think of, or find an example of two adjacent strings on the same line that can't be written as a single string?
s = "Label:\t Data containing \ backslashes"
I'm curious about how much of a problem not having implicit string concatenations really is?
"Can't" is an unrealistically high a bar but I posted a real example at http://mail.python.org/pipermail/python-ideas/2013-May/020847.html that is *better* written IMO as adjacently-concatenated string literals.