[New-bugs-announce] [issue39623] __str__ and __repr__ for asyncio.Task still omit arg values

Stuart Ball report at bugs.python.org
Thu Feb 13 03:19:35 EST 2020

New submission from Stuart Ball <corin.patterson at gmail.com>:

This is not very helpful if your gather or wait contains multiple versions of foo with different argument values: 

`<Task pending coro=<foo() running at c.py:6>`

Should just be:

`<Task pending coro=<foo(42, "hello") running at c.py:6>`

Would probably take all of 5 minutes to implement and make a lot of people's lives easier.

messages: 361944
nosy: stuball123
priority: normal
severity: normal
status: open
title: __str__ and __repr__ for asyncio.Task still omit arg values

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list