<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 10, 2013 at 2:48 PM, Guido van Rossum <span dir="ltr"><<a href="mailto:guido@python.org" target="_blank">guido@python.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I just spent a few minutes staring at a bug caused by a missing comma<br>
-- I got a mysterious argument count error because instead of foo('a',<br>
'b') I had written foo('a' 'b').</blockquote><div><br></div><div style>I had a similar experience just few weeks ago. The bug was in a long list written like this:</div><div style><br></div><div style>
['item11', 'item12', ..., 'item17',</div><div style> 'item21', 'item22', ..., 'item27' </div><div> ...</div><div> 'item91', 'item92', ..., 'item97']</div>
<div><br></div><div style>Clearly the bug crept in when more items were added. (I try to keep redundant commas at the end of the list to avoid this, but not everyone likes this style.) </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Would it be reasonable to start deprecating this and eventually remove<br>
it from the language?<br></blockquote><div><br></div><div style>+1, but I would start by requiring () around concatenated strings. </div></div></div></div>