Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
Bug description:
- Open the REPL
- Type
dict.c - Press tab twice
- PressCtrl +C
Expected behavior
There should be nothing afterKeyboardInterrupt, and nothing after>>> like Node.js and PowerShell.
$./pythonPython 3.15.0a0 (heads/main: future expected behavior ) [GCC 14.2.0] on linuxType "help", "copyright", "credits" or "license" for more information.>>> dict.cKeyboardInterrupt>>>
Actual behavior
The autocomplete was not cleared, and what is aKeyboardInterrupt.copy(?
$./pythonPython 3.15.0a0 (heads/main:e9d845b41dc, May 28 2025, 18:37:23) [GCC 14.2.0] on linuxType "help", "copyright", "credits" or "license" for more information.>>> dict.cKeyboardInterrupt.copy(>>>dict.clear( dict.copy(
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux