python / python/cpython

Unexpected call to readline's add_history in call_readline

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

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

extension-modules type-bug
主要言語
Python
スター
77.2k
フォーク
36k
PR マージ指標
PR 指標を取得中

説明

BPO 26870
Nosy @Yhg1s, @meadori, @vadmium, @tylercrompton
Files
  • readline_history.py: script that demonstrates the described behavior
  • set_auto_history.patch: Patch to implement new function in readline module
  • test_set_auto_history.py: Test script for new function in readline module
  • set_auto_history.v2.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2016-04-27.07:52:14.793>
    labels = ['extension-modules', 'type-bug']
    title = "Unexpected call to readline's add_history in call_readline"
    updated_at = <Date 2016-05-15.16:01:48.548>
    user = 'https://github.com/tylercrompton'
    

    bugs.python.org fields:

    activity = <Date 2016-05-15.16:01:48.548>
    actor = 'martin.panter'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Extension Modules']
    creation = <Date 2016-04-27.07:52:14.793>
    creator = 'tylercrompton'
    dependencies = []
    files = ['42626', '42748', '42749', '42788']
    hgrepos = []
    issue_num = 26870
    keywords = ['patch']
    message_count = 18.0
    messages = ['264360', '264370', '264378', '264955', '265119', '265184', '265192', '265497', '265567', '265570', '265571', '265572', '265574', '265575', '265604', '265614', '265618', '265626']
    nosy_count = 5.0
    nosy_names = ['twouters', 'meador.inge', 'python-dev', 'martin.panter', 'tylercrompton']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue26870'
    versions = ['Python 2.7', 'Python 3.5', 'Python 3.6']
    

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

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

    はじめの一歩

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

    調査の方向性

    まず readline_history.py で動作を再現し、次に readline モジュールのエントリポイントを調べ、提案されている set_auto_history.patch と set_auto_history.v2.patch を比較します。意図された動作を理解するには test_set_auto_history.py を使用します。予期しない add_history 呼び出しに対処し、テストでそれを検証できれば完了です。

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

    評価

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

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

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