-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
A multi-byte character in new PyREPL requires two backspaces to delete #142162
Copy link
Copy link
Open
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixes3.15new features, bugs and security fixesnew features, bugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-replRelated to the interactive shellRelated to the interactive shelltype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Metadata
Metadata
Assignees
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixes3.15new features, bugs and security fixesnew features, bugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-replRelated to the interactive shellRelated to the interactive shelltype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Bug report
Bug description:
Bug report
To reproduce
éThe paste-able string above is letter 'e' followed by
\u0301. To create it use:The
\u0301is a combining mark with zero-width display lengthCurrent behavior
Two backspaces are required to remove the displayed character
Expected behavior
One backspace is required to remove the displayed character
This is the behavior in the old REPL
CPython versions tested on:
3.14.0, 3.15.0a2
Operating systems tested on:
Linux
Linked PRs