python / python/cpython

pdb history file should be different per default, not the same with main repl

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

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

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

説明

Feature or enhancement

Proposal:

After quitting from debug session (triggered by breakpoint()) to the main repl, I've it's history filled with a bunch of pdb-specific stuff. Usually (always?) these lines have an invalid syntax for python.

Maybe it does make sense have access to recent repl entries after starting pdb, but hardly the main repl's history should have access to pdb history. That should live in a separate file.

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

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

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

はじめの一歩

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

調査の方向性

breakpoint() から入る pdb セッションを起点にして、その履歴がメイン REPL の履歴とともにどのように扱われるかを追跡します。pdb 固有のコマンドがメイン REPL の履歴に表示されなくなり、pdb の開始時に issue が意図している最近の REPL エントリへのアクセスが維持されれば完了です。

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

評価

技術スタック
python
領域
cli, devtools
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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