cpython icon indicating copy to clipboard operation
cpython copied to clipboard

gh-142784: Employ `asyncio.Runner` in the asyncio REPL

Open johnslavik opened this issue 1 week ago • 2 comments

  • Issue: gh-142784

johnslavik avatar Dec 16 '25 03:12 johnslavik

I'm happy to have confirmed that this fixes the problem in GH-140288. I'll add a test and we're ready.

johnslavik avatar Dec 16 '25 13:12 johnslavik

In the meantime -- @graingert, do you think this is the good direction?

johnslavik avatar Dec 16 '25 15:12 johnslavik

@kumaraditya303 I've dropped asyncio.Runner and used .close() only, as discussed.

johnslavik avatar Dec 18 '25 12:12 johnslavik

@ZeroIntensity needs backport to 3.13 needs backport to 3.14

johnslavik avatar Dec 18 '25 13:12 johnslavik

Thanks @johnslavik for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. 🐍🍒⛏🤖

miss-islington-app[bot] avatar Dec 18 '25 13:12 miss-islington-app[bot]

Thanks @johnslavik for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. 🐍🍒⛏🤖

miss-islington-app[bot] avatar Dec 18 '25 13:12 miss-islington-app[bot]

GH-142932 is a backport of this pull request to the 3.13 branch.

bedevere-app[bot] avatar Dec 18 '25 13:12 bedevere-app[bot]

GH-142933 is a backport of this pull request to the 3.14 branch.

bedevere-app[bot] avatar Dec 18 '25 13:12 bedevere-app[bot]