Skip to content

Conversation

@johnslavik
Copy link
Member

@johnslavikjohnslavik commented Dec 16, 2025

@johnslavik
Copy link
MemberAuthor

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
MemberAuthor

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

@johnslavikjohnslavik changed the title gh-142784: Employ asyncio.Runner in the asyncio REPLgh-142784: Make the asyncio REPL call .close() on the loopDec 18, 2025
@johnslavik
Copy link
MemberAuthor

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

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

@ZeroIntensityneeds backport to 3.13needs backport to 3.14

@ZeroIntensityZeroIntensity 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

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

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

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

@bedevere-appbedevere-appbot 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>
kumaraditya303 pushed a commit that referenced this pull request Dec 18, 2025
…H-142785) (#142932) 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>
cocolato pushed a commit to cocolato/cpython that referenced this pull request Dec 18, 2025
Sign up for freeto 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

@johnslavik@kumaraditya303@ZeroIntensity