This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients asvetlov, brett.cannon, gvanrossum, martin.panter, ncoghlan, vstinner, yselivanov
Date 2016-01-12.01:37:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1452562667.53.0.431941854267.issue25887@psf.upfronthosting.co.za>
In-reply-to
Content
The patch looks like it adds checks for the special generator-like send() etc methods, but I was expecting __await__() to also (or instead) do this check. That way you wouldn’t have to break the iterator protocol by the iterator not raising StopIteration a second time.

Also left some other review comments.
History
Date User Action Args
2016-01-12 01:37:47martin.pantersetrecipients: + martin.panter, gvanrossum, brett.cannon, ncoghlan, vstinner, asvetlov, yselivanov
2016-01-12 01:37:47martin.pantersetmessageid: <1452562667.53.0.431941854267.issue25887@psf.upfronthosting.co.za>
2016-01-12 01:37:47martin.panterlinkissue25887 messages
2016-01-12 01:37:47martin.pantercreate