Bug report
Bug description:
If a keyboard interrupt is given while TAB autocomplete suggestions are being displayed, they are re-printed also below the last line, and continue to be re-printed as long as new keyboard interrupts are given.
after the keystrokes int.<TAB><TAB>
int .as_integer_ratio ( int .bit_length ( int .denominator int .imag int .mro () int .real
int .bit_count ( int .conjugate ( int .from_bytes ( int .is_integer ( int .numerator int .to_bytes (
>> > int .
then <CTRL-C>
int .as_integer_ratio ( int .bit_length ( int .denominator int .imag int .mro () int .real
int .bit_count ( int .conjugate ( int .from_bytes ( int .is_integer ( int .numerator int .to_bytes (
>> > int .
KeyboardInterrupt
int .as_integer_ratio ( int .bit_length ( int .denominator int .imag int .mro () int .real
int .bit_count ( int .conjugate ( int .from_bytes ( int .is_integer ( int .numerator int .to_bytes (
>> >
another <CTRL-C>
int .as_integer_ratio ( int .bit_length ( int .denominator int .imag int .mro () int .real
int .bit_count ( int .conjugate ( int .from_bytes ( int .is_integer ( int .numerator int .to_bytes (
>> > int .
KeyboardInterrupt
int .as_integer_ratio ( int .bit_length ( int .denominator int .imag int .mro () int .real
int .bit_count ( int .conjugate ( int .from_bytes ( int .is_integer ( int .numerator int .to_bytes (
>> >
KeyboardInterrupt
int .as_integer_ratio ( int .bit_length ( int .denominator int .imag int .mro () int .real
int .bit_count ( int .conjugate ( int .from_bytes ( int .is_integer ( int .numerator int .to_bytes (
>> >
<ENTER> makes the last set of printed suggestions disappear, as does typing any printing characters.
int .as_integer_ratio ( int .bit_length ( int .denominator int .imag int .mro () int .real
int .bit_count ( int .conjugate ( int .from_bytes ( int .is_integer ( int .numerator int .to_bytes (
>> > int .
KeyboardInterrupt
int .as_integer_ratio ( int .bit_length ( int .denominator int .imag int .mro () int .real
int .bit_count ( int .conjugate ( int .from_bytes ( int .is_integer ( int .numerator int .to_bytes (
>> >
KeyboardInterrupt
>> >
>> >
CPython versions tested on:
3.14
Operating systems tested on:
macOS
Linked PRs
Reactions are currently unavailable
Bug report
Bug description:
If a keyboard interrupt is given while TAB autocomplete suggestions are being displayed, they are re-printed also below the last line, and continue to be re-printed as long as new keyboard interrupts are given.
after the keystrokes
int.<TAB><TAB>then
<CTRL-C>another
<CTRL-C><ENTER>makes the last set of printed suggestions disappear, as does typing any printing characters.CPython versions tested on:
3.14
Operating systems tested on:
macOS
Linked PRs