Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



    The left-to-right evaluation order of the
    iterables is guaranteed.
http://docs.python.org/2/library/functions.html#zip


Yes, but only for zip, which I believe was the parent posters point. With another function this technique might not work.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: