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 martin.panter
Recipients antoine.pietri, docs@python, martin.panter, python-dev
Date 2015-07-29.01:54:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1438134887.39.0.140271799256.issue24692@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-07-29 01:54:47martin.pantersetrecipients: + martin.panter, docs@python, python-dev, antoine.pietri
2015-07-29 01:54:47martin.pantersetmessageid: <1438134887.39.0.140271799256.issue24692@psf.upfronthosting.co.za>
2015-07-29 01:54:47martin.panterlinkissue24692 messages
2015-07-29 01:54:46martin.pantercreate