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-19.10:27:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384856845.67.0.251793509052.issue16596@psf.upfronthosting.co.za>
In-reply-to
Content
This is a consequence of the problem mentioned in msg 177059 above.

New patch 'issue16596_nostate_3.diff' fixes both problems by having the interpreter
issue an exception debug event when processing a StopIteration in target FOR_ITER:
* The same debug events are issued now, wether the generator is run within a for loop or not.
* 'n' stops now at both the return and exception debug events on returning from the generator.
History
Date User Action Args
2013-11-19 10:27:25xdegayesetrecipients: + xdegaye, gvanrossum, georg.brandl, larry, asvetlov, pconnell
2013-11-19 10:27:25xdegayesetmessageid: <1384856845.67.0.251793509052.issue16596@psf.upfronthosting.co.za>
2013-11-19 10:27:25xdegayelinkissue16596 messages
2013-11-19 10:27:25xdegayecreate