<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hey Bruce!<br>
      <br>
      On 16.05.13 19:26, Bruce Leban wrote:<br>
    </div>
    <blockquote
cite="mid:CAGu0Anso43fq3yH1o9jAFWnQoy33bBXLDJu1m-bSGYaiiwK4vA@mail.gmail.com"
      type="cite"><br>
      <div class="gmail_quote">On Thu, May 16, 2013 at 9:57 AM,
        Christian Tismer <span dir="ltr"><<a moz-do-not-send="true"
            href="mailto:tismer@stackless.com" target="_blank">tismer@stackless.com</a>></span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div id=":no">The "&" is not a valid operator on strings
            and looks pretty much like<br>
            gluing parts together. It is better than the "\" that just
            escapes the newline<br>
            and cannot take comments.<br>
          </div>
        </blockquote>
      </div>
      <br>
      I don't like something that is a standard operator becoming
      special syntax. While it's true that string & string is not
      valid, it's not the case that string & ... is not valid. I
      dislike dot for the same reason. It's confusing that these would
      do different things:
      <div>
        <br>
      </div>
      <div><font face="courier new, monospace">    'abc' & 'def'</font></div>
      <div><font face="courier new, monospace">    ('abc') & 'def'</font></div>
      <div><br>
      </div>
      <div>
        <div>I like the \ idea because it's clearly syntax and not an
          operator, but the fact that it doesn't work with comments is
          annoying since one reason to break a string is to insert
          comments. I don't like that spaces after the \ are not allowed
          because trailing spaces are invisible to me but not to the
          parser. So what if the rule for trailing \ was changed to:<br>
          <div><br>
          </div>
        </div>
        <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
          <div>
            <div>The \ continuation character may be followed by white
              space and a comment. If a comment is present, there must
              be at least one whitespace character between the \ and the
              comment.</div>
          </div>
        </blockquote>
        <div>
          <div><br>
          </div>
          <div>
            <div>That is:</div>
            <div><br>
            </div>
            <div><font face="courier new, monospace">x = [  # THIS WOULD
                BE ALLOWED</font></div>
            <div><font face="courier new, monospace">    'abc'   \</font></div>
            <div><font face="courier new, monospace">    'def'   \   #
                not the python keyword</font></div>
            <div><font face="courier new, monospace">    'ghi'</font></div>
            <div><font face="courier new, monospace">]</font></div>
            <div>
              <div><br>
              </div>
              <div>
                <div><font face="courier new, monospace">x = [  # THIS
                    WOULD BE AN ERROR</font></div>
                <div><font face="courier new, monospace">    'abc'   \</font></div>
                <div><font face="courier new, monospace">    'def'   </font><font
                    face="courier new, monospace"># a comment but no </font><span
                    style="font-family:'courier new',monospace">continuation </span><span
                    style="font-family:'courier new',monospace">\</span></div>
                <div><font face="courier new, monospace">    'ghi'</font></div>
                <div><font face="courier new, monospace">]</font></div>
                <div><br>
                </div>
                <div>One thing I like about using \ is that it already
                  works (aside from my proposed comment change). So
                  anyone wanting to write forward/backward-compatible
                  code can just add the \s now. If you want to start
                  enforcing the restriction, just use from __future__
                  import explicit_string_continuation.</div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <font face="arial, helvetica, sans-serif">Right, that's a good one!<br>
      Although I hate the backslash from bad experience with windows.<br>
      But actually the most reason that I always hated to use "\" for
      continuation<br>
      lines is its strict behavior that does not allow any white space
      after it.<br>
      <br>
      Hey, it would be great if that proposal makes it !<br>
      <br>
      cheers - chris<br>
    </font>
    <pre class="moz-signature" cols="72">-- 
Christian Tismer             :^)   <a class="moz-txt-link-rfc2396E" href="mailto:tismer@stackless.com"><mailto:tismer@stackless.com></a>
Software Consulting          :     Have a break! Take a ride on Python's
Karl-Liebknecht-Str. 121     :    *Starship* <a class="moz-txt-link-freetext" href="http://starship.python.net/">http://starship.python.net/</a>
14482 Potsdam                :     PGP key -> <a class="moz-txt-link-freetext" href="http://pgp.uni-mainz.de">http://pgp.uni-mainz.de</a>
phone +49 173 24 18 776  fax +49 (30) 700143-0023
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
      whom do you want to sponsor today?   <a class="moz-txt-link-freetext" href="http://www.stackless.com/">http://www.stackless.com/</a></pre>
  </body>
</html>