News for hackers. Stuff that matters.
Re:Brilliant or insane code? by obiterdictum on Sunday September 01, 2013 @10:27AM (#6310484)
I think that dependency on argument evaluation order inside zip function smells a bit.

It's OK here, but may bite you with a different function.

Re:Brilliant or insane code? by cbr on Sunday September 01, 2013 @12:03PM (#6310877)

    The left-to-right evaluation order of the
    iterables is guaranteed.
http://docs.python.org/2/library/functions.html#zip
Re:Brilliant or insane code? by weavejester on Sunday September 01, 2013 @03:58PM (#6311869)
Yes, but only for zip, which I believe was the parent posters point. With another function this technique might not work.