]> 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:49:42 +0000 (19:49 +0000)
committerRaymond Hettinger <python@rcn.com>
Sat, 8 May 2004 19:49:42 +0000 (19:49 +0000)
commit9d7c870c6d66c8b2e066001f31ac3037d50f7012
treec41da1755bdc2af527581c02cf2fd2ed9781ac38
parentffa5a5015a359045d7efb2c4cd0b5738c97b86ce
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.

Will backport.
Lib/test/test_itertools.py
Modules/itertoolsmodule.c