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
PR 合并指标
PR 指标待抓取

描述

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 摘要。