<div class="gmail_quote">On Fri, Feb 5, 2010 at 2:38 PM, Tristan Seligmann <span dir="ltr"><<a href="mailto:mithrandi@mithrandi.net">mithrandi@mithrandi.net</a>></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 <<a href="mailto:kevin.horn@gmail.com">kevin.horn@gmail.com</a>> wrote:<br>
<br>
> After looking at this some more, it looks as though "izip_longest" is the<br>
> culprit...introduced in 2.6.<br>
><br>
> 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>
>>> row_lines = list(izip_longest(*row_split, fillvalue=''))<br>
>>> ^<br>
>>> 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't typically use that syntax, and I thought it looked kind of goofy, but that'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>