python / python/cpython

GzipFile's .seekable() returns True even if underlying buffer is not seekable

未关闭
#77,354 5 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

3.8 (EOL) stdlib
主要语言
Python
星标
77.2k
派生
36k
PR 合并指标
PR 指标待抓取

描述

BPO 33173
Nosy @pitrou, @vadmium, @serhiy-storchaka, @csabella, @waltaskew, @tirkarthi
PRs
  • python/cpython#6303
  • 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-03-28.16:28:47.984>
    labels = ['3.8', 'library']
    title = "GzipFile's .seekable() returns True even if underlying buffer is not seekable"
    updated_at = <Date 2018-11-09.08:55:32.150>
    user = 'https://github.com/waltaskew'
    

    bugs.python.org fields:

    activity = <Date 2018-11-09.08:55:32.150>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2018-03-28.16:28:47.984>
    creator = 'Walt Askew'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33173
    keywords = ['patch']
    message_count = 5.0
    messages = ['314613', '327206', '327226', '329505', '329506']
    nosy_count = 6.0
    nosy_names = ['pitrou', 'martin.panter', 'serhiy.storchaka', 'cheryl.sabella', 'Walt Askew', 'xtreak']
    pr_nums = ['6303']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue33173'
    versions = ['Python 3.8']
    

    贡献指南

    打开贡献指南

    从这里开始

    1. 先读完整个 Issue,再读项目的贡献指南。
    2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
    3. Fork 仓库,在一个分支上完成修改。
    4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

    调研方向

    从 Lib 组件入手,定位 GzipFile.seekable 及其对底层缓冲区的处理。使用不可 seek 的缓冲区重现报告的案例,并验证 seekable() 是否反映缓冲区的能力;查看 PR #6303 了解已有的工作。

    由索引模型根据 Issue 内容生成。

    评估

    技术栈
    python
    领域
    backend
    Issue 类型
    缺陷
    难度
    3/5
    预计耗时
    1-2 天
    活跃度
    停滞
    描述清晰度
    基本清楚
    新手友好度
    25/100

    把新 issue 发到你的邮箱

    精选适合新手参与的 GitHub issue 摘要。