Unexpected call to readline's add_history in call_readline
未關閉
還沒有人認領這個 Issue。
extension-modules
type-bug
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 36k
- PR 合併指標
- PR 指標待擷取
描述
| BPO | 26870 |
|---|---|
| Nosy | @Yhg1s, @meadori, @vadmium, @tylercrompton |
| Files |
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']
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 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