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 scoder
Recipients Ben.Darnell, asvetlov, gvanrossum, ncoghlan, scoder, vstinner, yselivanov
Date 2015-06-09.19:25:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1433877950.98.0.617267962943.issue24400@psf.upfronthosting.co.za>
In-reply-to
Content
I added some review comments. The main thing is that the coroutine type should be awaitable.

For reference, here's my current implementation for Cython. It's a bit more involved as it needs to support Python 2.6+. I may also add some special casing for CPython's own coroutine type when compiling in Py3.5 if this change makes it in.

https://github.com/cython/cython/blob/bb0dec2fab91cbde443e6756c3dc29ee009caba7/Cython/Utility/Coroutine.c
History
Date User Action Args
2015-06-09 19:25:51scodersetrecipients: + scoder, gvanrossum, ncoghlan, vstinner, asvetlov, Ben.Darnell, yselivanov
2015-06-09 19:25:50scodersetmessageid: <1433877950.98.0.617267962943.issue24400@psf.upfronthosting.co.za>
2015-06-09 19:25:50scoderlinkissue24400 messages
2015-06-09 19:25:50scodercreate