python / python/cpython

Ctrl+Alt+L is broken after upgrading to Python 3.13

オープン
#134,746 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

stdlib topic-repl type-bug
主要言語
Python
スター
77.2k
フォーク
35.9k
PR マージ指標
PR 指標を取得中

説明

Bug report

Bug description:
  1. Open python3 for the REPL
  2. Run anything like 1+2
  3. Press Ctrl + Alt + L
Expended behavior from Python 3.12

The screen should be cleared with only ">>>" remaining, and the scrollbar should indicate no history.

Actual behavior on Python 3.13+

Nothing happens, and the "3" is still there.

Tested on Python 3.13.3 (main, Apr 8 2025, 19:55:40) [GCC 14.2.0] on linux and Python 3.15.0a0 (heads/main:57fef27cfc, May 25 2025, 13:55:21) [GCC 14.2.0] on linux

Note that Ctrl + L still works, but it is designed to not clear history.

CPython versions tested on:

3.13

Operating systems tested on:

Linux

Linked PRs
  • gh-138521

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

Linux 上の Python 3.13+ REPL で Ctrl+Alt+L の手順を使って動作を再現し、次に REPL の入力処理を追跡して Python 3.12 と比較します。ショートカットで説明どおりに画面と履歴表示がクリアされ、Ctrl+L は既存の動作を維持すれば完了です。issue では作業がすでに進行中であることが示されているため、開始前にリンク先の PR gh-138521 を確認してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。