]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
SF #950057: itertools.chain doesn't "process" exceptions as they occur
authorRaymond Hettinger <python@rcn.com>
Sat, 8 May 2004 19:52:39 +0000 (19:52 +0000)
committerRaymond Hettinger <python@rcn.com>
Sat, 8 May 2004 19:52:39 +0000 (19:52 +0000)
commiteda9da79bb233324fc33c6bfcf623947d3c8de76
treea012800c07a049f54aab394d399b96815d41495a
parent5ea315bbdde027515664b9e795ebcc0118593e46
SF #950057:  itertools.chain doesn't "process" exceptions as they occur

Both cycle() and chain() were handling exceptions only when switching
input sources.  The patch makes the handle more immediate.
Lib/test/test_itertools.py
Modules/itertoolsmodule.c