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 asvetlov, njs, vstinner, yselivanov
Date 2018-01-24.01:31:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1516757494.08.0.467229070634.issue32636@psf.upfronthosting.co.za>
In-reply-to
Content
asyncio.coroutine sets the co_flags bit CO_ITERABLE_COROUTINE for generator functions' code objects.

With that bit flag, Python allows to 'yield from' native coroutines.

CoroWrapper.send() -> wrapped_generator.send() -> YIELD_FROM(native_coro) -> native_coro.send()
History
Date User Action Args
2018-01-24 01:31:34yselivanovsetrecipients: + yselivanov, vstinner, njs, asvetlov
2018-01-24 01:31:34yselivanovsetmessageid: <1516757494.08.0.467229070634.issue32636@psf.upfronthosting.co.za>
2018-01-24 01:31:34yselivanovlinkissue32636 messages
2018-01-24 01:31:33yselivanovcreate