We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
consider:
import asyncio async def main(): names = [] async with asyncio.TaskGroup() as tg: async def append_name(): names.append(asyncio.current_task().get_name()) tg.create_task(append_name(), name="example name") print(names) def loop_factory(): loop = asyncio.EventLoop() loop.set_task_factory(asyncio.eager_task_factory) return loop asyncio.run(main()) asyncio.run(main(), loop_factory=loop_factory)
this outputs:
['example name'] ['Task-5']
but it should output:
['example name'] ['example name']
3.13
Linux
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug report
Bug description:
consider:
this outputs:
but it should output:
CPython versions tested on:
3.13
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered: