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 xdegaye
Recipients asvetlov, georg.brandl, gvanrossum, larry, pconnell, xdegaye
Date 2013-11-20.22:02:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384984974.59.0.740444810879.issue16596@psf.upfronthosting.co.za>
In-reply-to
Content
Hopefully issue16596_nostate_4.diff should fix this.
The patch issues a StopIteration debug event in ceval.c (similar to the change made in the previous
patch for the for loop), when the subgenerator is exhausted. This debug event is printed as
'Internal StopIteration' by pdb to indicate that it is not a real user exception. Two tests have
been added: test 'next' when returning from a generator in a for loop and 'test' next when returning
from a subgenerator.
History
Date User Action Args
2013-11-20 22:02:54xdegayesetrecipients: + xdegaye, gvanrossum, georg.brandl, larry, asvetlov, pconnell
2013-11-20 22:02:54xdegayesetmessageid: <1384984974.59.0.740444810879.issue16596@psf.upfronthosting.co.za>
2013-11-20 22:02:54xdegayelinkissue16596 messages
2013-11-20 22:02:54xdegayecreate