Message247230
> Hm, I think there's little need for new exceptions...
While I agree with Yuri that the names are a bit awkward, I actually second this. The StopIteration is almost an implementation detail of how the return value is passed on to become the (Future) result of the coroutine. It is intended to be caught by some framework and users would not normally get to see that exception. There is little room for general confusion. |
|
Date |
User |
Action |
Args |
2015-07-23 20:27:26 | scoder | set | recipients:
+ scoder, gvanrossum, ncoghlan, yselivanov |
2015-07-23 20:27:26 | scoder | set | messageid: <1437683246.93.0.438502224429.issue24697@psf.upfronthosting.co.za> |
2015-07-23 20:27:26 | scoder | link | issue24697 messages |
2015-07-23 20:27:26 | scoder | create | |
|