<font color="#000000"><font size="2">So can be done with this syntax:<br><br></font></font>> x = firstpart * secondpart  +  #line breaks here<br>
> anotherpart + #continue <br>
> stillanother #continue on.<br><font color="#000000"><font size="2"><br>after a "+" operator the line is clearly not finished yet.<br><br clear="all"></font></font><span style="color:rgb(0, 0, 0)">Gabriel AHTUNE</span><br>


<br><br><div class="gmail_quote">2011/9/2 Matt Joiner <span dir="ltr"><<a href="mailto:anacrolix@gmail.com">anacrolix@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I guess the issue here is that you can't tell if an expression is<br>
complete without checking the indent of the following line. This is<br>
likely not desirable.<br>
<br>
On Thu, Sep 1, 2011 at 11:43 PM, Yingjie Lan <<a href="mailto:lanyjie@yahoo.com">lanyjie@yahoo.com</a>> wrote:<br>
> Hi Matt,<br>
> =======================================================<br>
> From: Matt Joiner <<a href="mailto:anacrolix@gmail.com">anacrolix@gmail.com</a>><br>
><br>
> The "trailing \" workaround is nonobvious. Wrapping in () is noisy and<br>
> already heavily used by other syntactical structures.<br>
> =======================================================<br>
> How about only require indentation<br>
> to freely break lines? Here is an example:<br>
> x = firstpart * secondpart #line breaks here<br>
> + anotherpart #continue by indentation<br>
> + stillanother #continue on.<br>
> #until here, another line starts by dedentation<br>
> y = some_expression - another_one<br>
> All this would be completely compatible with former code, while<br>
> having almost free line breaking! Plus, indentation makes it pretty.<br>
> Really hope Python can have freedom in breaking lines.<br>
> Yingjie<br>
_______________________________________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org">Python-ideas@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-ideas" target="_blank">http://mail.python.org/mailman/listinfo/python-ideas</a><br>
</blockquote></div><br>