`strptime`: `%U/%W` are not used without day of week
未关闭
还没有人认领这个 Issue。
stdlib
type-feature
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 36k
- PR 合并指标
- PR 指标待抓取
描述
| BPO | 30802 |
|---|---|
| Nosy | @musically-ut, @matheusportela, @pganssle, @nooperpudd, @tirkarthi, @serge-bon |
| 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 2017-06-29.08:58:08.577>
labels = ['3.7', '3.8', 'type-bug', 'library']
title = "datetime.datetime.strptime('200722', '%Y%U')"
updated_at = <Date 2019-05-22.13:43:18.013>
user = 'https://github.com/nooperpudd'
bugs.python.org fields:
activity = <Date 2019-05-22.13:43:18.013>
actor = 'p-ganssle'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2017-06-29.08:58:08.577>
creator = 'winton'
dependencies = []
files = []
hgrepos = []
issue_num = 30802
keywords = ['patch', 'patch', 'patch']
message_count = 11.0
messages = ['297265', '297266', '297274', '297714', '298840', '299114', '299124', '299446', '332399', '332400', '332456']
nosy_count = 7.0
nosy_names = ['mrabarnett', 'musically_ut', 'matheus.v.portela', 'p-ganssle', 'winton', 'xtreak', 'serge-bon']
pr_nums = ['11594', '11594', '11594']
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue30802'
versions = ['Python 2.7', 'Python 3.7', 'Python 3.8']
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
先从 issue 中描述的 datetime.datetime.strptime 和 %U/%W 指令入手,然后审查现有的 PR #11594 以及相关讨论。当没有星期几的输入的行为得到解决,并且相关的 CPython 测试反映出已达成一致的结果时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- backend
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100