python / python/cpython

Add ability to query number of buffered bytes available on buffered I/O

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

還沒有人認領這個 Issue。

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

描述

BPO 32475
Nosy @pitrou, @vadmium, @kata198, @hashbrowncipher
PRs
  • python/cpython#7947
  • Files
  • Python_3_6_4_getbuffn.patch: getbuffn additions to Python 3.6.4
  • 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-01.08:31:45.113>
    labels = ['type-feature', 'library', 'expert-IO']
    title = 'Add ability to query number of buffered bytes available on buffered I/O'
    updated_at = <Date 2018-06-27.04:01:30.244>
    user = 'https://github.com/kata198'
    

    bugs.python.org fields:

    activity = <Date 2018-06-27.04:01:30.244>
    actor = 'josnyder'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)', 'IO']
    creation = <Date 2018-01-01.08:31:45.113>
    creator = 'kata198'
    dependencies = []
    files = ['47359']
    hgrepos = []
    issue_num = 32475
    keywords = ['patch']
    message_count = 4.0
    messages = ['309328', '309334', '310035', '320542']
    nosy_count = 4.0
    nosy_names = ['pitrou', 'martin.panter', 'kata198', 'josnyder']
    pr_nums = ['7947']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue32475'
    versions = ['Python 3.6']
    

    貢獻指南

    開啟貢獻指南

    從這裡開始

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

    研究方向

    先檢視 Python_3_6_4_getbuffn.patch 和 PR #7947,然後檢查受該提案影響的緩衝 I/O 實作。確認應如何公開要求的緩衝位元組數,並驗證最終的 API 是否正確回報可用的位元組數。

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

    評估

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

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

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