[Python-Dev] Lockstep iteration - eureka!

Mark Hammond MarkH@ActiveState.com
Wed, 9 Aug 2000 16:39:30 +1000


>    for (x in a, y in b):
>       ...

Hmmm.  Until someone smarter than me shoots it down for some obvious reason
<wink>, it certainly appeals to me.

My immediate reaction _is_ lockstep iteration, and that is the first time I
can say that.  Part of the reason is that it looks like a tuple unpack,
which I think of as a "lockstep/parallel/atomic" operation...

Mark.