Paste mode in python 3.13 turns on in interactive help mode but doesn't work
オープン
まだ誰も着手していません。
3.13
3.14
3.15
stdlib
topic-repl
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、Windows 上の Python 3.13 対話型 REPL で動作を再現します。対話型ヘルプに入り、F3 を押して、複数行を貼り付けます。interactive-help と paste-mode の処理を追跡します。完了の条件は、各モードが誤解を招くプロンプトや使用できない複数行入力を生成しなくなることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100