Message244399
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:41 | yselivanov | set | recipients:
+ yselivanov, gvanrossum, ncoghlan, scoder, python-dev |
2015-05-29 18:56:41 | yselivanov | set | messageid: <1432925801.15.0.640904212891.issue24316@psf.upfronthosting.co.za> |
2015-05-29 18:56:41 | yselivanov | link | issue24316 messages |
2015-05-29 18:56:41 | yselivanov | create | |
|