gh-134869: Fix Ctrl+C corrupts REPL autocomplete#134929
gh-134869: Fix Ctrl+C corrupts REPL autocomplete#134929pablogsal merged 9 commits intopython:mainfrom
Conversation
Lib/_pyrepl/simple_interact.py
Outdated
| input_n += 1 | ||
| except KeyboardInterrupt: | ||
| r = _get_reader() | ||
| r.cmpltn_menu_visible = False |
|
Please add a NEWS entry under the |
picnixz
left a comment
There was a problem hiding this comment.
Good for me but I'm not a REPL expert so there might be some other stuff to care about. cc @pablogsal
|
Tested this locally and works. I cannot see anything wrong with it and as testing this is going to be very complicated I am fine to merge as is. We can add a test later if someone sees a way to test this that won't be too annoying. |
|
Good job @ggqlq 🚀 |
|
Thanks @ggqlq for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
|
Thanks @ggqlq for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
(cherry picked from commit 8750e5e) Co-authored-by: ggqlq <124190229+ggqlq@users.noreply.github.com>
(cherry picked from commit 8750e5e) Co-authored-by: ggqlq <124190229+ggqlq@users.noreply.github.com>
|
GH-137925 is a backport of this pull request to the 3.13 branch. |
|
GH-137926 is a backport of this pull request to the 3.14 branch. |
This comment was marked as off-topic.
This comment was marked as off-topic.
…GH-134929) (python#137926) pythongh-134869: Fix Ctrl+C corrupts REPL autocomplete (pythonGH-134929) (cherry picked from commit 8750e5e) Co-authored-by: ggqlq <124190229+ggqlq@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.