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.

classification
Title: Removal of @asyncio.coroutine in Python 3.11
Type: Stage: resolved
Components: asyncio Versions: Python 3.11
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: aeros, asvetlov, felixxm, graingert, illia-v, kamilturek, kumaraditya, vstinner, yselivanov
Priority: normal Keywords: patch

Created on 2021-02-13 16:47 by illia-v, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 26369 merged illia-v, 2021-05-25 20:41
Messages (5)
msg386927 - (view) Author: Illia Volochii (illia-v) * Date: 2021-02-13 16:47
It looks like @asyncio.coroutine was scheduled to be removed in Python 3.10.

Is it still relevant?

https://bugs.python.org/issue36921
https://docs.python.org/3.10/library/asyncio-task.html#asyncio.coroutine
msg392093 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2021-04-27 15:54
I suggest to wait for Python 3.11 to remove it. See the thread on python-dev:
https://mail.python.org/archives/list/python-dev@python.org/thread/PLSLFTJXY2JUIRGJARBER4SRUWDXX2AQ/
msg396814 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2021-07-01 13:14
New changeset a1092f62492a3fcd6195bea94eccf8d5a300acb1 by Illia Volochii in branch 'main':
bpo-43216: Remove @asyncio.coroutine (GH-26369)
https://github.com/python/cpython/commit/a1092f62492a3fcd6195bea94eccf8d5a300acb1
msg413059 - (view) Author: Kumar Aditya (kumaraditya) * (Python triager) Date: 2022-02-11 11:43
Can this be closed now?
msg413060 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2022-02-11 11:47
Closed.
Thanks for the reminder!
History
Date User Action Args
2022-04-11 14:59:41adminsetgithub: 87382
2022-02-11 11:47:33asvetlovsetstatus: open -> closed
resolution: fixed
messages: + msg413060

stage: patch review -> resolved
2022-02-11 11:43:52kumaradityasetnosy: + kumaraditya
messages: + msg413059
2021-07-01 13:14:07vstinnersetmessages: + msg396814
2021-05-25 20:41:54illia-vsetkeywords: + patch
stage: patch review
pull_requests: + pull_request24958
2021-04-27 15:54:05vstinnersetnosy: + vstinner
title: Removal of @asyncio.coroutine in Python 3.10 -> Removal of @asyncio.coroutine in Python 3.11
messages: + msg392093

versions: + Python 3.11, - Python 3.10
2021-03-07 19:08:04felixxmsetnosy: + felixxm
2021-03-07 13:58:52kamiltureksetnosy: + kamilturek
2021-03-06 20:41:59graingertsetnosy: + graingert
2021-02-14 13:33:33corona10setnosy: + aeros
2021-02-13 16:47:55illia-vcreate