python / python/cpython

doctest syntax ambiguity between continuation line and ellipsis

未關閉
#76,690 15 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

3.8 (EOL) stdlib type-bug
主要語言
Python
星號
77.2k
分支
36k
PR 合併指標
PR 指標待擷取

描述

BPO 32509
Nosy @tim-one, @jaraco, @stevendaprano, @bitdancer, @mblahay

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 2018-01-07.04:05:17.271>
labels = ['3.8', 'type-bug', 'library']
title = 'doctest syntax ambiguity between continuation line and ellipsis'
updated_at = <Date 2021-02-08.00:11:09.958>
user = 'https://github.com/jaraco'

bugs.python.org fields:

activity = <Date 2021-02-08.00:11:09.958>
actor = 'jaraco'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2018-01-07.04:05:17.271>
creator = 'jaraco'
dependencies = []
files = []
hgrepos = []
issue_num = 32509
keywords = []
message_count = 15.0
messages = ['309599', '309600', '309601', '309602', '309603', '309604', '309605', '309606', '309611', '309622', '309630', '309631', '342372', '385154', '386610']
nosy_count = 5.0
nosy_names = ['tim.peters', 'jaraco', 'steven.daprano', 'r.david.murray', 'mblahay']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue32509'
versions = ['Python 3.8']

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

該 issue 提到了 doctest,但沒有提供實作檔案、測試或具體的預期語法。首先定位 doctest 的 parser 和現有測試,然後將續行和省略號的處理與報告中提到的歧義進行比較。Done 應透過回歸測試以及已達成共識且明確無歧義的行為來定義。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
testing-qa
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。