<div class="gmail_quote">On Fri, Feb 5, 2010 at 2:38 PM, Tristan Seligmann <span dir="ltr">&lt;<a href="mailto:mithrandi@mithrandi.net">mithrandi@mithrandi.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Fri, Feb 5, 2010 at 10:18 PM, Kevin Horn &lt;<a href="mailto:kevin.horn@gmail.com">kevin.horn@gmail.com</a>&gt; wrote:<br>
<br>
&gt; After looking at this some more, it looks as though &quot;izip_longest&quot; is the<br>
&gt; culprit...introduced in 2.6.<br>
&gt;<br>
&gt; Why its giving a syntax error, though, is beyond me.<br>
<br>
</div>The problem is the function call syntax:<br>
<div class="im"><br>
&gt;&gt;&gt;        row_lines = list(izip_longest(*row_split, fillvalue=&#39;&#39;))<br>
&gt;&gt;&gt;                                                          ^<br>
&gt;&gt;&gt;    SyntaxError: invalid syntax<br>
<br>
</div>You have keyword arguments after *args, and this is only valid in 2.6 and up.<br>
<font color="#888888">--<br>
mithrandi, i Ainil en-Balandor, a faer Ambar<br>
</font><div><div></div><div class="h5"><br></div></div></blockquote></div><br>Ah, thanks for that.  I don&#39;t typically use that syntax, and I thought it looked kind of goofy, but that&#39;s the way the signature for izip_longest is in the docs, so I used it there.  And since it was introduced in 2.6...<br>
<br>All makes sense now...<br><br>Thanks again!<br><br>Kevin Horn<br><br>