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, python-dev, scoder, yselivanov
Date 2015-05-29.18:56:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Please test the attached patch.

> BTW, it's not only for compiled generators but also for normal Python functions that construct Python generators internally and return them

You're right, that's why I used "primarily" word in that comment ;) 

types.coroutine() is only used by asyncio.coroutine() so far, and returning generator objects from "factory" functions isn't a very common pattern in asyncio.
Date User Action Args
2015-05-29 18:56:41yselivanovsetrecipients: + yselivanov, gvanrossum, ncoghlan, scoder, python-dev
2015-05-29 18:56:41yselivanovsetmessageid: <>
2015-05-29 18:56:41yselivanovlinkissue24316 messages
2015-05-29 18:56:41yselivanovcreate