<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div>Have you considered line continuation by indentation? It seems to meet the design principle. I think it is the most natural way to allow free line breaking in Python.</div><div><br></div><div>(Sorry, the yahoo web email interface is so weird that I don't know how to format comments between the quoted message below.)</div><div><br></div><div><br></div><div><br></div><div><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-size: 12pt; font-family: arial, helvetica, sans-serif; "><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><font size="2" face="Arial"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Stephen J. Turnbull <stephen@xemacs.org><br><b><span style="font-weight: bold;">To:</span></b> Gabriel AHTUNE
 <gahtune@gmail.com><br><b><span style="font-weight: bold;">Cc:</span></b> Matt Joiner <anacrolix@gmail.com>; "python-list@python.org" <python-list@python.org>; python-ideas <python-ideas@python.org>; Yingjie Lan <lanyjie@yahoo.com><br><b><span style="font-weight: bold;">Sent:</span></b> Friday, September 2, 2011 3:28 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Python-ideas] allow line break at operators<br></font><br>Gabriel AHTUNE writes:<br> > So can be done with this syntax:<br> > <br> > > x = firstpart * secondpart  +  #line breaks here<br> > > anotherpart + #continue<br> > > stillanother #continue on.<br> > <br> > after a "+" operator the line is clearly not finished yet.<br><br>Sure, but IIRC one design principle of Python is that the keyword that<br>denotes the syntax should be the first thing on the line, making it<br>easy to scan down the left side of
 the code to see the syntactic<br>structure.  The required indentation of the controlled suite also<br>helps emphasize that keyword.<br><br>Analogously, if operators are going to denote continuation, they<br>should come first on the line.<br><br></div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="yui_3_2_0_22_131488110604059"><br>I just don't think this idea is going anywhere.  Explicit continuation<br>with backslash or implicit continuation of parenthesized expressions<br>is just not that heavy a price to pay.  Perhaps historically some of<br>these ideas could have been implemented, but now they're just going to<br>confuse a host of editors and code analysis tools.<br><br></div></div></blockquote></div></div></body></html>