Python 3.13 REPL have issues when typing/deleting single line, that goes wrapped on multiple lines
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 35.9k
- PR 合并指标
- PR 指标待抓取
描述
Bug report
Bug description:
When I tested some things in REPL that running in Windows Terminal on Windows 10 I find out that it have issues when I type or delete characters in first line that's being wrapped on 2nd line.
A better showcase will be this video:
https://github.com/user-attachments/assets/3c106067-fe42-48e9-8163-c0066dfb3c16
Here you can see some line that I'm working with, at some point I was needed to go back and delete characters in first line, here I deleted 3 characters: int with backspace, but what it did is delete whole words and print line with overlapping on existing one, making it unreadable mess. But the actual code is safe, only visual bug showing it wrong.
Then for showcase I added int back and it did in the same way with an error.
CPython versions tested on:
3.13
Operating systems tested on:
Windows
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
在 Windows 10 上使用 Windows Terminal,通过 Python 3.13 REPL 重现该问题:输入一行会发生换行的内容,然后在其第一行中输入并删除字符。将终端中显示的输出与实际的输入行为进行比较;当编辑换行行不再产生重叠或无法读取的渲染结果时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- cli
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100