Message177059
| Author |
xdegaye |
| Recipients |
asvetlov, georg.brandl, gvanrossum, xdegaye |
| Date |
2012年12月06日.21:04:43 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1354827883.66.0.0419724430279.issue16596@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
When the generator is used in a for loop, the interpreter handles the
StopIteration in its eval loop, and the exception is not raised. So it may be
considered as confusing to have pdb behave differently with a generator
depending on its context. A way to fix this would be to not ignore the return
debug events, with the drawback of a more verbose debug process with
generators. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年12月06日 21:04:43 | xdegaye | set | recipients:
+ xdegaye, gvanrossum, georg.brandl, asvetlov |
| 2012年12月06日 21:04:43 | xdegaye | set | messageid: <1354827883.66.0.0419724430279.issue16596@psf.upfronthosting.co.za> |
| 2012年12月06日 21:04:43 | xdegaye | link | issue16596 messages |
| 2012年12月06日 21:04:43 | xdegaye | create |
|