Content-Length: 272638 | pFad | https://github.com/python/cpython/issues/93297

ad Make asyncio task groups prevent child tasks from being GCed · Issue #93297 · python/cpython · GitHub
Skip to content

Make asyncio task groups prevent child tasks from being GCed #93297

Description

@1st1

We discovered that sometimes child tasks in a task group can be picked up by a GC which leads to extremely hard to debug problems. This is fixable by switching to use a set() instead of weakset to internally track child tasks. I'll make a PR shortly.

See also geldata/gel#3914.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









    ApplySandwichStrip

    pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


    --- a PPN by Garber Painting Akron. With Image Size Reduction included!

    Fetched URL: https://github.com/python/cpython/issues/93297

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy