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 yselivanov
Recipients gvanrossum, ncoghlan, scoder, vstinner, yselivanov
Date 2015-06-25.15:42:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1435246948.22.0.255546128718.issue24511@psf.upfronthosting.co.za>
In-reply-to
Content
Let's consider adding C API functions for working with new tp_as_async:

PyAwait_Check for checking tp_as_async->am_await || PyCoro_Check || PyGen & CO_ITERABLE_COROUTINE

PyAwait_AsyncIterCheck for checking tp_as_async->am_iter
PyAwait_GetAsyncIter for calling tp_as_async->am_iter
PyAwait_AsyncIterNext for calling tp_as_async->am_next

Please also see issue24510 for opening up _PyCoro_GetAwaitableIter; we can call it PyAwait_Get
History
Date User Action Args
2015-06-25 15:42:28yselivanovsetrecipients: + yselivanov, gvanrossum, ncoghlan, scoder, vstinner
2015-06-25 15:42:28yselivanovsetmessageid: <1435246948.22.0.255546128718.issue24511@psf.upfronthosting.co.za>
2015-06-25 15:42:28yselivanovlinkissue24511 messages
2015-06-25 15:42:27yselivanovcreate