Message247801
I think you are right that it would be typically used as a decorator. Patch v2 changes it to be defined as a decorator.
Not sure what the second part of your comment is referring to. The existing text about lack of __await__() maybe? You still have to have something (such as “asyncio”) drive the top-level coroutine. So that is a third thing users have to do with them. Passing a coroutine to “await” does not magically make it go, it just becomes a subordinate of the outer coroutine. |
|
Date |
User |
Action |
Args |
2015-08-01 08:18:52 | martin.panter | set | recipients:
+ martin.panter, scoder, docs@python, python-dev, antoine.pietri |
2015-08-01 08:18:52 | martin.panter | set | messageid: <1438417132.9.0.0165772024062.issue24692@psf.upfronthosting.co.za> |
2015-08-01 08:18:52 | martin.panter | link | issue24692 messages |
2015-08-01 08:18:52 | martin.panter | create | |
|