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 njs
Recipients asvetlov, josh.r, miss-islington, njs, yselivanov
Date 2021-04-26.21:17:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619471860.0.0.453096709768.issue36921@roundup.psfhosted.org>
In-reply-to
Content
@types.coroutine is still useful as a tool for writing "foundation" coroutines that directly interact with the coroutine runner, e.g.:

https://github.com/python-trio/trio/blob/94562c54d241859eb05ed85c88fd6073d6752ff6/trio/_core/_traps.py#L12-L21

https://github.com/dabeaz/curio/blob/27ccf4d130dd8c048e28bd15a22015bce3f55d53/curio/traps.py#L28-L36

So I think it's only @asyncio.coroutine that should be deprecated.
History
Date User Action Args
2021-04-26 21:17:40njssetrecipients: + njs, asvetlov, yselivanov, josh.r, miss-islington
2021-04-26 21:17:40njssetmessageid: <1619471860.0.0.453096709768.issue36921@roundup.psfhosted.org>
2021-04-26 21:17:39njslinkissue36921 messages
2021-04-26 21:17:39njscreate