Paste mode in python 3.13 turns on in interactive help mode but doesn't work
未關閉
還沒有人認領這個 Issue。
3.13
3.14
3.15
stdlib
topic-repl
type-bug
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 35.9k
- PR 合併指標
- PR 指標待擷取
描述
Bug report
Bug description:
Run python repl.
Enter "help" to start interactive help.
Prompt changes to "help>"
Press "F3" to enter paste mode. Prompt changes to "(paste)".
Paste something with multiple lines.
All the line ends get removed and an unusable line remains.
The issue is:
- Why paste mode works within interactive help at all?
- "(paste)" propmpt hides the fact that we are still within interactive help.
CPython versions tested on:
3.13
Operating systems tested on:
Windows
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先在 Windows 上的 Python 3.13 互動式 REPL 中重現此行為:進入互動式說明,按下 F3,並貼上多行內容。追蹤 interactive-help 和 paste-mode 的處理;完成的條件是這些模式不再產生誤導性的提示字元或無法使用的多行輸入。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- cli
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100