gh-112622: Pass name to loop create_task method (#112623)
This affects task creation through either `asyncio.create_task()` or `TaskGroup.create_task()` -- the redundant call to `task.set_name()` is skipped. We still call `set_name()` when a task factory is involved, because the task factory call signature (unfortunately) doesn't take a `name` argument.
J
Jamie committed
a3a1cb48456c809f7b1ab6a6ffe83e8b3f69be0f
Parent: c6e614f
Committed by GitHub <noreply@github.com>
on 12/13/2023, 1:26:40 AM