[issue45099] asyncio.Task's documentation says that loop arg is removed when it's not

Andrew Svetlov report at bugs.python.org
Thu Feb 17 04:30:29 EST 2022


Andrew Svetlov <andrew.svetlov at gmail.com> added the comment:

User code should not create Task objects explicitly.
Please use `asyncio.create_task()` (or shiny new TaskGroup.create_task()) instead. They doesn't have 'loop' argument.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45099>
_______________________________________


More information about the Python-bugs-list mailing list