Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:

Note that the following variant where maps are replaced with list 
comprehensions seems to work:

def zip(*iterables):
    # zip('ABCD', 'xy') --> Ax By                                               
                                                                                
                       
    iterables = [iter(i) for i in iterables]
    while iterables:
        yield tuple([next(j) for j in iterables])

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10029>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to