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
the following test fails when run with eager tasks
async def test_exception_refcycles_parent_task(self): """Test that TaskGroup deletes self._parent_task""" tg = asyncio.TaskGroup() exc = None class _Done(Exception): pass async def coro_fn(): async with tg: raise _Done try: async with asyncio.TaskGroup() as tg2: tg2.create_task(coro_fn()) except* _Done as excs: exc = excs.exceptions[0].exceptions[0] self.assertIsInstance(exc, _Done) self.assertListEqual(gc.get_referrers(exc), no_other_refs())
3.14
Linux
The text was updated successfully, but these errors were encountered:
pythongh-128552: fix refcycles in eager task creation
c82f30b
Rename 2025-01-06-18-41-08.gh-issue-pythongh-128552.fV-f8j.rst to 202…
9700ebf
…5-01-06-18-41-08.gh-issue-128552.fV-f8j.rst
gh-128552: fix refcycles in eager task creation (#128553)
61b9811
pythongh-128552: fix refcycles in eager task creation (python#128553)
ceaafff
(cherry picked from commit 61b9811)
c50dfd7
[3.13] gh-128552: fix refcycles in eager task creation (#128553) (#12…
1383588
…8585) gh-128552: fix refcycles in eager task creation (#128553) (cherry picked from commit 61b9811)
No branches or pull requests
Bug report
Bug description:
the following test fails when run with eager tasks
CPython versions tested on:
3.14
Operating systems tested on:
Linux
Linked PRs
The text was updated successfully, but these errors were encountered: