Message247553
Going by Yury’s tests and implementation, I think it is intended that:
* An “async def” coroutine factory function is accepted and passed through unmodified
* An generator–coroutine factory function that has already been transformed is also accepted
* If a wrapped function (not a normal coroutine nor generator factory) returns a coroutine instance (e.g. if the function was already decorated), the return value is never wrapped a second time
I will have a go at writing this up. |
|
Date |
User |
Action |
Args |
2015-07-29 01:54:47 | martin.panter | set | recipients:
+ martin.panter, docs@python, python-dev, antoine.pietri |
2015-07-29 01:54:47 | martin.panter | set | messageid: <1438134887.39.0.140271799256.issue24692@psf.upfronthosting.co.za> |
2015-07-29 01:54:47 | martin.panter | link | issue24692 messages |
2015-07-29 01:54:46 | martin.panter | create | |
|