MagicMock.__divmod__ should return a pair
未关闭
还没有人认领这个 Issue。
3.10
stdlib
type-bug
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 36k
- PR 合并指标
- PR 指标待抓取
描述
| BPO | 34716 |
|---|---|
| Nosy | @voidspace, @serhiy-storchaka, @vedgar, @pganssle, @tirkarthi, @jacksonriley |
| PRs |
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-09-17.19:45:58.328>
labels = ['type-bug', 'library', '3.10']
title = 'MagicMock.__divmod__ should return a pair'
updated_at = <Date 2020-10-19.20:49:44.926>
user = 'https://github.com/serhiy-storchaka'
bugs.python.org fields:
activity = <Date 2020-10-19.20:49:44.926>
actor = 'zach.ware'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2018-09-17.19:45:58.328>
creator = 'serhiy.storchaka'
dependencies = []
files = []
hgrepos = []
issue_num = 34716
keywords = ['patch']
message_count = 5.0
messages = ['325571', '356469', '356525', '356544', '357045']
nosy_count = 6.0
nosy_names = ['michael.foord', 'serhiy.storchaka', 'veky', 'p-ganssle', 'xtreak', 'jacksonriley']
pr_nums = ['17291']
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue34716'
versions = ['Python 3.10']
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先在 Python 标准库中找到 MagicMock.divmod 的实现,并检查 issue 所描述的现有行为。当 divmod 返回一个二元组,并且回归测试确认该行为时,即表示完成;请注意,PR python/cpython#17291 已经关联。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- testing
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100