classification
Title: Deprecate yield from and @coroutine in asyncio
Type: Stage: resolved
Components: asyncio Versions: Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: asvetlov, josh.r, miss-islington, yselivanov
Priority: normal Keywords: patch

Created on 2019-05-15 08:32 by asvetlov, last changed 2020-06-23 15:21 by josh.r. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 13334 closed asvetlov, 2019-05-15 08:34
PR 13346 merged asvetlov, 2019-05-15 18:36
Messages (2)
msg342649 - (view) Author: miss-islington (miss-islington) Date: 2019-05-16 14:52
New changeset 68b34a720485f399e8699235b8f4e08f227dd43b by Miss Islington (bot) (Andrew Svetlov) in branch 'master':
bpo-36921: Deprecate @coroutine for sake of async def (GH-13346)
https://github.com/python/cpython/commit/68b34a720485f399e8699235b8f4e08f227dd43b
msg372177 - (view) Author: Josh Rosenberg (josh.r) * (Python triager) Date: 2020-06-23 15:21
Was this supposed to deprecate using types.coroutine as a decorator as well? Because that's not clearly documented, which means people can still use it to make generator-based coroutines without async def.
History
Date User Action Args
2020-06-23 15:21:14josh.rsetnosy: + josh.r
messages: + msg372177
2019-05-24 14:17:40asvetlovsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2019-05-16 14:52:18miss-islingtonsetnosy: + miss-islington
messages: + msg342649
2019-05-15 18:36:59asvetlovsetpull_requests: + pull_request13257
2019-05-15 08:34:40asvetlovsetkeywords: + patch
stage: patch review
pull_requests: + pull_request13246
2019-05-15 08:32:31asvetlovcreate