Author xtreak
Recipients asvetlov, stuball123, xtreak, yselivanov
Date 2020-02-13.09:03:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This could sometimes make the output verbose when the arguments themselves are tasks while including arguments in the signature in _format_coroutine.

$ cat /tmp/
import asyncio

async def foo(a, b): pass

async def main():
    task = asyncio.create_task(foo(1, b=1))
    task1 = asyncio.create_task(foo(1, b=task))

$ python3.8 /tmp/
<Task pending name='Task-2' coro=<foo() running at /tmp/>>
<Task pending name='Task-3' coro=<foo() running at /tmp/>>

$ ./python.exe /tmp/
<Task pending name='Task-2' coro=<foo(a=1, b=1) running at /tmp/>>
<Task pending name='Task-3' coro=<foo(a=1, b=<Task pending name='Task-2' coro=<foo(a=1, b=1) running at /tmp/>>) running at /tmp/>>
Date User Action Args
2020-02-13 09:03:31xtreaksetrecipients: + xtreak, asvetlov, yselivanov, stuball123
2020-02-13 09:03:31xtreaksetmessageid: <>
2020-02-13 09:03:31xtreaklinkissue39623 messages
2020-02-13 09:03:31xtreakcreate