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: Make Task.set_name() mandatory for third-parties
Type: Stage: resolved
Components: asyncio Versions: Python 3.11
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: asvetlov, yselivanov
Priority: normal Keywords: patch

Created on 2022-03-12 11:48 by asvetlov, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 31838 merged asvetlov, 2022-03-12 11:51
Messages (2)
msg414990 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2022-03-12 11:48
The method was introduced by Python 3.8

Let's raise DeprecationWarning if third-party task implementation doesn't support it. Convert the depreciation into a strict error in Python 3.13
msg415040 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2022-03-13 16:34
New changeset 7e473e94a52024ac821dd2f206290423e4987ead by Andrew Svetlov in branch 'main':
bpo-46995: Deprecate missing asyncio.Task.set_name() for third-party task implementations (GH-31838)
https://github.com/python/cpython/commit/7e473e94a52024ac821dd2f206290423e4987ead
History
Date User Action Args
2022-04-11 14:59:57adminsetgithub: 91151
2022-03-13 16:35:26asvetlovsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2022-03-13 16:34:58asvetlovsetmessages: + msg415040
2022-03-12 11:51:55asvetlovsetkeywords: + patch
stage: patch review
pull_requests: + pull_request29937
2022-03-12 11:48:31asvetlovcreate