Iterating a text file by line should not implicitly disable tell
未关闭
还没有人认领这个 Issue。
3.7 (EOL)
3.8 (EOL)
stdlib
topic-IO
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 36k
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 558
描述
| BPO | 37036 |
|---|---|
| Nosy | @MojoVampire, @websurfer5 |
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 2019-05-24.16:08:32.775>
labels = ['3.8', '3.7', 'library', 'expert-IO']
title = 'Iterating a text file by line should not implicitly disable tell'
updated_at = <Date 2019-05-28.05:55:40.301>
user = 'https://github.com/MojoVampire'
bugs.python.org fields:
activity = <Date 2019-05-28.05:55:40.301>
actor = 'Jeffrey.Kintscher'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)', 'IO']
creation = <Date 2019-05-24.16:08:32.775>
creator = 'josh.r'
dependencies = []
files = []
hgrepos = []
issue_num = 37036
keywords = []
message_count = 2.0
messages = ['343402', '343404']
nosy_count = 2.0
nosy_names = ['josh.r', 'Jeffrey.Kintscher']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue37036'
versions = ['Python 3.7', 'Python 3.8']
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
未指定源文件或测试。首先重现 Python 文本文件上的逐行迭代与 tell() 之间的交互,然后跟踪相关的 CPython I/O 入口点。当逐行迭代不再隐式禁用 tell(),且该行为由回归测试覆盖时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- backend
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100