Stefan Behnel added the comment:

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

----------
nosy: +scoder

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24697>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to