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 scoder
Recipients antoine.pietri, docs@python, martin.panter, python-dev, scoder
Date 2015-07-29.17:30:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1438191015.01.0.693511060216.issue24692@psf.upfronthosting.co.za>
In-reply-to
Content
Note that the expected usage is not as a function but as a decorator. That should be stated in the docs as well. IMHO, users should only do two things with whatever the result is: either use it as a Generator (as before), or pass it as an argument to "await". Everything else is best considered implementation details. Well, except for the case of passing a coroutine, which will obviously just be passed through (and that answers the original question).
History
Date User Action Args
2015-07-29 17:30:15scodersetrecipients: + scoder, docs@python, python-dev, martin.panter, antoine.pietri
2015-07-29 17:30:15scodersetmessageid: <1438191015.01.0.693511060216.issue24692@psf.upfronthosting.co.za>
2015-07-29 17:30:14scoderlinkissue24692 messages
2015-07-29 17:30:13scodercreate