<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 11 Jun 2013, at 01:08, Fábio Santos wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p dir="ltr"><br>
On 10 Jun 2013 23:54, "Roel Schroeven" <<a href="mailto:roel@roelschroeven.net">roel@roelschroeven.net</a>> wrote:<br>
><br>
> You could do something like:<br>
><br>
> new_songs, old_songs = [], []<br>
> [(new_songs if <a href="http://s.is">s.is</a>_new() else old_songs).append(s) for s in songs]<br>
><br>
> But I'm not sure that that's any better than the long version.</p><p dir="ltr">This is so beautiful!</p><div><br></div></blockquote><div><br></div>I must disagree , this is unreadable and in my honor opinion not Pythonic at all.</div><div>I've learned it's always better to be explicit then implicit, and this snippet of code does a lot in an implicit way.</div><div><br></div></body></html>