Message245812
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. |
|
Date |
User |
Action |
Args |
2015-06-25 15:35:58 | yselivanov | set | recipients:
+ yselivanov, gvanrossum, ncoghlan, scoder, vstinner |
2015-06-25 15:35:58 | yselivanov | set | messageid: <1435246558.17.0.296607565259.issue24510@psf.upfronthosting.co.za> |
2015-06-25 15:35:58 | yselivanov | link | issue24510 messages |
2015-06-25 15:35:57 | yselivanov | create | |
|