Skip to content

Conversation

yihong0618
Copy link
Contributor

@yihong0618 yihong0618 commented Oct 9, 2025

The reason is that we already print nKeyboardInterrupt\n in _pyrepl

@yihong0618 yihong0618 changed the title fix: do not print twice in default asyncio REPL gh-139845: do not print twice in default asyncio REPL Oct 9, 2025
@kumaraditya303 kumaraditya303 added topic-asyncio topic-repl Related to the interactive shell labels Oct 9, 2025
Signed-off-by: yihong0618 <[email protected]>
@kumaraditya303 kumaraditya303 added the needs backport to 3.14 bugs and security fixes label Oct 9, 2025
@kumaraditya303 kumaraditya303 enabled auto-merge (squash) October 9, 2025 14:26
@kumaraditya303 kumaraditya303 merged commit a310b3a into python:main Oct 9, 2025
47 checks passed
@miss-islington-app
Copy link

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

@bedevere-app
Copy link

bedevere-app bot commented Oct 9, 2025

GH-139859 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 Oct 9, 2025
@ambv ambv added the needs backport to 3.13 bugs and security fixes label Oct 9, 2025
@miss-islington-app
Copy link

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

@bedevere-app
Copy link

bedevere-app bot commented Oct 9, 2025

GH-139860 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 Oct 9, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 9, 2025
…-139846)

(cherry picked from commit a310b3a)

Co-authored-by: yihong <[email protected]>
Co-authored-by: Kumar Aditya <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 9, 2025
…-139846)

(cherry picked from commit a310b3a99d05e107963023a5736b67afe4ae1968)

Co-authored-by: yihong <[email protected]>
Co-authored-by: Kumar Aditya <[email protected]>
kumaraditya303 added a commit that referenced this pull request Oct 9, 2025
…) (#139860)

gh-139845: do not print twice in default asyncio REPL (GH-139846)
(cherry picked from commit a310b3a)

Co-authored-by: yihong <[email protected]>
Co-authored-by: Kumar Aditya <[email protected]>
kumaraditya303 added a commit that referenced this pull request Oct 9, 2025
…) (#139859)

gh-139845: do not print twice in default asyncio REPL (GH-139846)
(cherry picked from commit a310b3a)

Co-authored-by: yihong <[email protected]>
Co-authored-by: Kumar Aditya <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-asyncio topic-repl Related to the interactive shell
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants