Message203350
| 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. |
|