Axel Rauschmayer wrote:
That is a difference between iterators that you have to be aware of and that needs to be documented per iterable. It’d be great if all iterables were indeed the same in this regard.
You're right, of course -- my point was too narrow, I was addressing only the "can implement return handling in either a generator function body or a custom iterator" side of the coin.
/be _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

