-
-
Notifications
You must be signed in to change notification settings - Fork 33k
Open
Labels
stdlibStandard 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
Description
Bug report
Bug description:
To reproduce
Tested with Python 3.14 rc3 on Linux
- Open the new REPL
- Paste: ééééé
The paste-able string above is five letter 'e's each followed by \u0301
. To create it use:
print('e\u0301' * 5)
The \u0301
is a combining mark with zero-width display length
Current behavior
The cursor position is five spaces after the pasted string
Expected behavior
The cursor position is immediately after the pasted string
CPython versions tested on:
3.14
Operating systems tested on:
Linux
Linked PRs
Metadata
Metadata
Assignees
Labels
stdlibStandard 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