FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-121295: Fix blocked console after interrupting a long paste by mgmacias95 · Pull Request #121815 · python/cpython · GitHub

/ cpython Public

gh-121295: Fix blocked console after interrupting a long paste - #121815

Merged
ambv merged 3 commits into
python:mainfrom
mgmacias95:fix_long_paste_sigint
Jul 15, 2024
Merged

gh-121295: Fix blocked console after interrupting a long paste#121815
ambv merged 3 commits into
python:mainfrom
mgmacias95:fix_long_paste_sigint

Conversation

mgmacias95 commented Jul 15, 2024
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

This PR fixes the behaviour when sending a KeyboardInterrupt signal to the reader. I was unable to reproduce this behaviour on unit tests so I had to test it manually. I'm attaching a GIF of the tests I made to make the review easier:

ZeroIntensity left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Confirmed that this fixes #121295

Comment on lines +1 to +2
Fix PyREPL console getting into a blocked state after interrupting a long
paste

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Tiny wording nitpick:

Suggested change
Fix PyREPL console getting into a blocked state after interrupting a long
paste
Fixed REPL getting into a blocked state after interruption of
paste.

ambv added topic-repl Related to the interactive shell needs backport to 3.13 bugs and security fixes labels Jul 15, 2024
ambv merged commit 498a94c into python:main Jul 15, 2024

Copy link
Copy Markdown

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 15, 2024
…ythonGH-121815)

(cherry picked from commit 498a94c)

Co-authored-by: Marta Gómez Macías <mgmacias@google.com>

bedevere-app Bot commented Jul 15, 2024

Copy link
Copy Markdown

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

bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Jul 15, 2024

ambv commented Jul 15, 2024

Copy link
Copy Markdown
Contributor

Thanks, Marta! ✨ 🍰 ✨

ambv pushed a commit that referenced this pull request Jul 16, 2024
…GH-121815) (GH-121826)

(cherry picked from commit 498a94c)

Co-authored-by: Marta Gómez Macías <mgmacias@google.com>
mgmacias95 deleted the fix_long_paste_sigint branch July 16, 2024 07:36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic-repl Related to the interactive shell

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL