python / python/cpython

Unable to iterate over lines in a file without a block of code

未關閉
#90,462 8 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

stdlib type-feature
主要語言
Python
星號
77.2k
分支
36k
平均合併
1 天 9 小時
30 天內合併 PR
558

描述

BPO 46304
Nosy @jaraco, @ericvsmith, @njsmith, @serhiy-storchaka, @sweeneyde

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 2022-01-08.04:09:44.308>
labels = ['type-feature', 'library', '3.11']
title = 'Unable to iterate over lines in a file without a block of code'
updated_at = <Date 2022-01-09.10:57:23.802>
user = 'https://github.com/jaraco'

bugs.python.org fields:

activity = <Date 2022-01-09.10:57:23.802>
actor = 'serhiy.storchaka'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2022-01-08.04:09:44.308>
creator = 'jaraco'
dependencies = []
files = []
hgrepos = []
issue_num = 46304
keywords = []
message_count = 8.0
messages = ['410075', '410078', '410090', '410114', '410115', '410118', '410122', '410137']
nosy_count = 5.0
nosy_names = ['jaraco', 'eric.smith', 'njs', 'serhiy.storchaka', 'Dennis Sweeney']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue46304'
versions = ['Python 3.11']

貢獻指南

開啟貢獻指南

從這裡開始

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

研究方向

該 issue 沒有指明實作檔案、進入點或測試。首先定位 Python 的檔案逐行迭代實作及其現有測試,然後在進行修改前釐清預期的無阻塞行為。完成的標準是支援預期的迭代用法,並由回歸測試涵蓋。

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

評估

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

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

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