Skip to content

Conversation

@johnslavik
Copy link
Contributor

@johnslavik johnslavik commented Dec 16, 2025

@johnslavik
Copy link
Contributor Author

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

@johnslavik
Copy link
Contributor Author

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

@johnslavik johnslavik changed the title gh-142784: Employ asyncio.Runner in the asyncio REPL gh-142784: Make the asyncio REPL call .close() on the loop Dec 18, 2025
@johnslavik johnslavik marked this pull request as ready for review December 18, 2025 12:01
@johnslavik
Copy link
Contributor Author

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

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
@kumaraditya303 kumaraditya303 enabled auto-merge (squash) December 18, 2025 12:31
@kumaraditya303 kumaraditya303 merged commit ddfc155 into python:main Dec 18, 2025
50 checks passed
@johnslavik
Copy link
Contributor Author

@ZeroIntensity needs backport to 3.13 needs backport to 3.14

@ZeroIntensity ZeroIntensity added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Dec 18, 2025
@miss-islington-app
Copy link

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

@miss-islington-app
Copy link

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 18, 2025
…ythonGH-142785)

(cherry picked from commit ddfc155)

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 18, 2025
…ythonGH-142785)

(cherry picked from commit ddfc155)

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
@bedevere-app
Copy link

bedevere-app bot commented Dec 18, 2025

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

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Dec 18, 2025
@bedevere-app
Copy link

bedevere-app bot commented Dec 18, 2025

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

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Dec 18, 2025
kumaraditya303 pushed a commit that referenced this pull request Dec 18, 2025
…H-142785) (#142933)

gh-142784: make the asyncio REPL call `loop.close()` at exit (GH-142785)
(cherry picked from commit ddfc155)

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants