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: Normalize asyncio future and task repr()
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-16 23:53 by asvetlov, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 31950 merged asvetlov, 2022-03-16 23:55
Messages (2)
msg415375 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2022-03-16 23:53
Return `...` in the case of recursive representation.

Now the only result is replaced with `...`, all other future properties are still printed.  
It doesn't follow `repr()` for other stdlib objects.
msg415380 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2022-03-17 01:03
New changeset 30b5d41fabad04f9f34d603f1ce2249452c18c71 by Andrew Svetlov in branch 'main':
bpo-47039: Normalize repr() of asyncio future and task objects (GH-31950)
https://github.com/python/cpython/commit/30b5d41fabad04f9f34d603f1ce2249452c18c71
History
Date User Action Args
2022-04-11 14:59:57adminsetgithub: 91195
2022-03-17 23:32:50asvetlovlinkissue46223 superseder
2022-03-17 01:03:44asvetlovsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2022-03-17 01:03:15asvetlovsetmessages: + msg415380
2022-03-16 23:55:11asvetlovsetkeywords: + patch
stage: patch review
pull_requests: + pull_request30041
2022-03-16 23:53:06asvetlovcreate