Skip to content

Commit 031f545

Browse files
generatedunixname1734921407115435facebook-github-bot
authored andcommitted
Import upstream CPython branch '3.14'
Summary: Python `3.14.0rc2+` (`3.14`) was **published** on 2025-08-18 21:21:55+00:00. # Commit Info Base: (`3.14.0rc2+`) - `c9e2e15438839c9259997bcde4e366adc802d8c5` (commit date: 2025-08-18 11:07:47+00:00) Imported: (`3.14.0rc2+`) - `3.14` (commit date: 2025-08-18 21:21:55+00:00) # Files added ```javascript Misc/NEWS.d/next/Library/2025-08-18-16-02-51.gh-issue-134869.GnAjnU.rst ``` Reviewed By: itamaro Differential Revision: D80529970 fbshipit-source-id: e37fb1301ff64bfa74b494532b7bf0cef3e3a51d
1 parent 9219b20 commit 031f545

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

Lib/_pyrepl/simple_interact.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ def maybe_run_command(statement: str) -> bool:
158158
input_n += 1
159159
except KeyboardInterrupt:
160160
r = _get_reader()
161+
r.cmpltn_reset()
161162
if r.input_trans is r.isearch_trans:
162163
r.do_cmd(("isearch-end", [""]))
163164
r.pos = len(r.get_unicode())
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix an issue where pressing Ctrl+C during tab completion in the REPL would leave the autocompletion menu in a corrupted state.

0 commit comments

Comments
 (0)