From: Raymond Hettinger Date: Sat, 8 May 2004 20:57:16 +0000 (+0000) Subject: SF #950057: itertools.chain doesn't "process" exceptions as they occur X-Git-Tag: v2.3.4c1~30 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9fbc1610e45e020a90ab2a766f6d7eb46a203847;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Misc/NEWS b/Misc/NEWS index 8c3f56cef98d..c331a13b1131 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -42,6 +42,10 @@ Core and builtins Library ------- +- Bug #950057: itertools.chain() and itertools.cycle() now handle + exceptions immediately instead of waiting until the + input source is updated. + - Bug #931848: Fix _sre.CODESIZE on 64-bit machines in UCS-4 mode. - Bug #938076: Consider output encoding in XMLGenerator.