[Python-checkins] python/dist/src/Modules itertoolsmodule.c, 1.18.6.3, 1.18.6.4 (original) (raw)

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Sat May 8 15:52:42 EDT 2004


Update of /cvsroot/python/python/dist/src/Modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3285/Modules

Modified Files: Tag: release23-maint itertoolsmodule.c Log Message: 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.

Index: itertoolsmodule.c

RCS file: /cvsroot/python/python/dist/src/Modules/itertoolsmodule.c,v retrieving revision 1.18.6.3 retrieving revision 1.18.6.4 diff -C2 -d -r1.18.6.3 -r1.18.6.4 *** itertoolsmodule.c 30 Aug 2003 22:14:46 -0000 1.18.6.3 --- itertoolsmodule.c 8 May 2004 19:52:39 -0000 1.18.6.4


*** 95,98 **** --- 95,104 ---- return item; }


*** 1050,1053 **** --- 1056,1065 ---- if (item != NULL) return item;



More information about the Python-checkins mailing list