Author vstinner
Recipients untitaker, vstinner, xiang.zhang
Date 2016-09-29.10:34:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> The return value is ignored and an empty generator is produced.

It's not ignored: it is passed in the argument of the StopIterator object.

> You can read for the entire story.

See also the PEP 479 (Change StopIteration handling inside generators) and PEP 492 (Coroutines with async and await syntax).

In short, it's a nice Python 3 feature, not a bug ;-)
Date User Action Args
2016-09-29 10:34:48vstinnersetrecipients: + vstinner, untitaker, xiang.zhang
2016-09-29 10:34:48vstinnersetmessageid: <>
2016-09-29 10:34:48vstinnerlinkissue28310 messages
2016-09-29 10:34:48vstinnercreate