This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author stutzbach
Recipients belopolsky, docs@python, loewis, max, rhettinger, stutzbach
Date 2010-10-05.18:51:56
SpamBayes Score 0.005970648
Marked as misclassified No
Message-id <1286304718.38.0.0553177581032.issue10029@psf.upfronthosting.co.za>
In-reply-to
Content
The code was taken from the itertools.izip documentation for Python 2, where it did work.

In Python 2, next() raises StopIteration which is propagated up and causes the izip() to stop.  In Python 3, map is itself a generator and the StopIteration terminates the map operation instead of terminating the zip operation.
History
Date User Action Args
2010-10-05 18:51:58stutzbachsetrecipients: + stutzbach, loewis, rhettinger, belopolsky, docs@python, max
2010-10-05 18:51:58stutzbachsetmessageid: <1286304718.38.0.0553177581032.issue10029@psf.upfronthosting.co.za>
2010-10-05 18:51:56stutzbachlinkissue10029 messages
2010-10-05 18:51:56stutzbachcreate