python / python/cpython

Map errno==ETIME to TimeoutError

未關閉
#83,854 13 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

3.13 interpreter-core type-feature
主要語言
Python
星號
77.2k
分支
36k
PR 合併指標
PR 指標待擷取

描述

BPO 39673
Nosy @ericvsmith, @giampaolo, @yaseppochi, @YoSTEALTH, @ZackerySpytz
PRs
  • python/cpython#20253
  • 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 2020-02-18.09:51:59.405>
    labels = ['type-feature', '3.10']
    title = 'Map errno==ETIME to TimeoutError'
    updated_at = <Date 2020-05-26.12:20:54.219>
    user = 'https://github.com/YoSTEALTH'
    

    bugs.python.org fields:

    activity = <Date 2020-05-26.12:20:54.219>
    actor = 'eric.smith'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = []
    creation = <Date 2020-02-18.09:51:59.405>
    creator = 'YoSTEALTH'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 39673
    keywords = ['patch']
    message_count = 13.0
    messages = ['362187', '362188', '362190', '362191', '362192', '362200', '362201', '362204', '362205', '369924', '369932', '369960', '369973']
    nosy_count = 5.0
    nosy_names = ['eric.smith', 'giampaolo.rodola', 'sjt', 'YoSTEALTH', 'ZackerySpytz']
    pr_nums = ['20253']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue39673'
    versions = ['Python 3.10']
    

    貢獻指南

    開啟貢獻指南

    從這裡開始

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

    研究方向

    先查看連結的 PR python/cpython#20253 和 BPO issue;該 payload 沒有指明原始檔案或測試。定位 errno 到例外的處理邏輯及其測試,然後驗證 ETIME 會映射到 TimeoutError,並確認相關測試通過。

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

    評估

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

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

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