Converting a flat list to a list of tuples
fredrik at pythonware.com
Wed Nov 23 09:54:46 CET 2005
Bengt Richter wrote:
> >Though it looks nice, it's an implementation dependant solution. What if
> >someone changes zip to fetch the second item first?
> That would be a counter-intuitive thing to do. Most things go left->right
> in order as the default assumption.
it's not only the order that matters, but also the number of items
read from the source iterators on each iteration.
More information about the Python-list