[docs] Bug in equivalent code for itertools.izip_longest
Adam Forsyth
agforsyth at gmail.com
Mon Sep 12 22:47:18 CEST 2011
See http://stackoverflow.com/questions/7392902/izip-longest-in-itertools-how-does-rasing-indexerror-inside-the-iterator-work
If an IndexError is raised inside an iterator in the "equivalent" code
from the docs, the generator stops and the error is swallowed.
If an IndexError is raised inside an iterator in the
"izip_longest_next" code in CPython's "Modules/itertoolsmodule.c", the
generator stops and the error propagates.
More information about the docs
mailing list