<br><br><div><span class="gmail_quote">On 10/04/07, <b class="gmail_sendername">Raymond Hettinger</b> &lt;<a href="mailto:python@rcn.com">python@rcn.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
[snip]<br><br>Here&#39;s that I think might not need a PEP:<br><br>* Eliminate implicit string concatenation:&nbsp;&nbsp; &quot;abc&quot; &quot;def&quot;<br>in favor of an explicit + operation.&nbsp;&nbsp;That simplifies<br>the grammar just a bit and the compiler already is
<br>smart enough to do constant fold this operation at<br>compile time.&nbsp;&nbsp;When there are multi-line concats, I think<br>the parenthesis serves us much better than a trailing \<br>which is ugly and relies on having no trailing whitespace.
<br>Replace:<br>&nbsp;&nbsp; &#39;hello&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#39; \<br>&nbsp;&nbsp; &#39;world&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#39;<br>With:<br>&nbsp;&nbsp; (&#39;hello&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#39; +<br>&nbsp;&nbsp;&nbsp;&nbsp;&#39;world&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#39;)<br><br><br><br>Raymond<br>______________________________________________
</blockquote><div><br>I&#39;ve started a discussion on python-ideas proposing to allow implicit concatenation of string variables as well as string literals.<br>-1 for elimination!<br><br>Eoghan<br> </div><br></div>