-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Closed
Copy link
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixestopic-replRelated to the interactive shellRelated to the interactive shelltype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
Pressing Ctrl-C (and emitting a KeyboardInterrupt) while the completion menu is visible (after having pressed Tab) does not clear it before the next line.
>>> import itertools
itertools.accumulate( itertools.groupby(
itertools.batched( itertools.islice(
itertools.chain( itertools.pairwise(
itertools.combinations( itertools.permutations(
itertools.combinations_with_replacement( itertools.product(
itertools.compress( itertools.repeat(
itertools.count( itertools.starmap(
itertools.cycle( itertools.takewhile(
itertools.dropwhile( itertools.tee(
itertools.filterfalse( itertools.zip_longest(
>>> itertools.
KeyboardInterrupt
itertools.accumulate( itertools.groupby(
itertools.batched( itertools.islice(
itertools.chain( itertools.pairwise(
itertools.combinations( itertools.permutations(
itertools.combinations_with_replacement( itertools.product(
itertools.compress( itertools.repeat(
itertools.count( itertools.starmap(
itertools.cycle( itertools.takewhile(
itertools.dropwhile( itertools.tee(
itertools.filterfalse( itertools.zip_longest(
>>>
CPython versions tested on:
CPython main branch
Operating systems tested on:
macOS
Linked PRs
Metadata
Metadata
Assignees
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixestopic-replRelated to the interactive shellRelated to the interactive shelltype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error