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
gh-93297: Make asyncio task groups prevent child tasks from being GCed #93299
Conversation
Okay, but it looks like self._unfinished_tasks is now redundant -- it is always equal to len(self._tasks), isn't it?
Yeah, true. The code looks cleaner now, please see the updated diff. |
|
Thanks @1st1 for the PR |
…ng GCed (pythonGH-93299) (cherry picked from commit e6a5767) Co-authored-by: Yury Selivanov <yury@edgedb.com>
|
GH-93305 is a backport of this pull request to the 3.11 branch. |
No description provided.