Skip to content
New issue

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

[3.12] gh-128552: fix refcycles in eager task creation (#128553) #128586

Draft
wants to merge 3 commits into
base: 3.12
Choose a base branch
from

Conversation

graingert
Copy link
Contributor

@graingert graingert commented Jan 7, 2025

try:
async with asyncio.TaskGroup() as tg2:
task_wr = weakref.ref(tg2.create_task(coro_fn()))
except* _Done as excs:
Copy link
Contributor Author

@graingert graingert Jan 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like this needs the uncancel after leaving task group fix from 3.13 that wasn't backported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant