[issue39623] __str__ and __repr__ for asyncio.Task still omit arg values
Maor Kleinberger
report at bugs.python.org
Thu Feb 20 17:55:12 EST 2020
Maor Kleinberger <kmaork at gmail.com> added the comment:
> Not so easy to find a satisfactory generic approach.
I agree, but wouldn't you agree that some information is better than no information?
>Task has a name exactly for the purpose of distinguishing similar but different tasks
But in case the same task is run many times with different arguments, the task's name by itself doesn't provide very useful information...
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39623>
_______________________________________
More information about the Python-bugs-list
mailing list