On 8/21/06, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> Perhaps there could be (or is there already?) a helper in itertools
> that iterates over multiple iterables padding the shorter inputs with
> None to the length of the longest one.

I think the most convenient solution would be to handle this with a
keyword argument to zip(), i.e., zip(a, b, pad=True).

Fredrik Johansson
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to