This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients belopolsky, georg.brandl, gvanrossum, rhettinger
Date 2008-04-30.15:20:53
SpamBayes Score 0.295846
Marked as misclassified No
Message-id <>
One more question: What is the rationale for

+	res = (*it->ob_type->tp_iternext)(it);
+	if (res == NULL) {
+			PyErr_SetNone(PyExc_StopIteration);
+			return NULL;


I would think tp_iternext failing to set an exception should not be 
translated into stop iteration.  Instead, builtin_next() should return 
NULL without an exception set and thus trigger a SystemError.
Date User Action Args
2008-04-30 15:21:01belopolskysetspambayes_score: 0.295846 -> 0.295846
recipients: + belopolsky, gvanrossum, georg.brandl, rhettinger
2008-04-30 15:20:59belopolskysetspambayes_score: 0.295846 -> 0.295846
messageid: <>
2008-04-30 15:20:57belopolskylinkissue2719 messages
2008-04-30 15:20:54belopolskycreate