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 <1432925801.15.0.640904212891.issue24316@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-05-29 18:56:41yselivanovsetrecipients: + yselivanov, gvanrossum, ncoghlan, scoder, python-dev
2015-05-29 18:56:41yselivanovsetmessageid: <1432925801.15.0.640904212891.issue24316@psf.upfronthosting.co.za>
2015-05-29 18:56:41yselivanovlinkissue24316 messages
2015-05-29 18:56:41yselivanovcreate