Author yselivanov
Recipients gvanrossum, ncoghlan, scoder, vstinner, yselivanov
Date 2015-06-25.15:35:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1435246558.17.0.296607565259.issue24510@psf.upfronthosting.co.za>
In-reply-to
Content
We should consider making _PyCoro_GetAwaitableIter(o) a public API.

Its implementation isn't trivial because it's not around simply accessing 'tp_as_async->am_await'.  You also need to check is 'o' is a generator with a CO_ITERABLE_COROUTINE or a CoroObject, etc.
History
Date User Action Args
2015-06-25 15:35:58yselivanovsetrecipients: + yselivanov, gvanrossum, ncoghlan, scoder, vstinner
2015-06-25 15:35:58yselivanovsetmessageid: <1435246558.17.0.296607565259.issue24510@psf.upfronthosting.co.za>
2015-06-25 15:35:58yselivanovlinkissue24510 messages
2015-06-25 15:35:57yselivanovcreate