python / python/cpython

socket.gethostbyname resolving octal IP addresses incorrectly

未關閉
#71,799 23 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

3.10 3.8 (EOL) 3.9 (EOL) OS-mac stdlib type-bug
主要語言
Python
星號
77.2k
分支
36k
平均合併
1 天 9 小時
30 天內合併 PR
558

描述

BPO 27612
Nosy @ronaldoussoren, @vstinner, @ned-deily, @bitdancer, @koobs, @eryksun, @zhangyangyu, @mattrobenolt
Files
  • socket-test-freebsd-9-10-11-python-27-33-34-35.txt
  • 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 2016-07-25.06:27:54.049>
    labels = ['OS-mac', 'type-bug', '3.8', '3.9', '3.10', 'library']
    title = 'socket.gethostbyname resolving octal IP addresses incorrectly'
    updated_at = <Date 2021-02-26.19:10:57.163>
    user = 'https://github.com/mattrobenolt'
    

    bugs.python.org fields:

    activity = <Date 2021-02-26.19:10:57.163>
    actor = 'eryksun'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)', 'macOS']
    creation = <Date 2016-07-25.06:27:54.049>
    creator = 'mattrobenolt'
    dependencies = []
    files = ['43890']
    hgrepos = []
    issue_num = 27612
    keywords = []
    message_count = 20.0
    messages = ['271237', '271265', '271266', '271271', '271283', '271284', '271289', '271290', '271293', '271294', '271304', '271343', '271346', '271363', '271364', '271365', '271369', '271383', '271390', '387737']
    nosy_count = 8.0
    nosy_names = ['ronaldoussoren', 'vstinner', 'ned.deily', 'r.david.murray', 'koobs', 'eryksun', 'xiang.zhang', 'mattrobenolt']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue27612'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']
    

    貢獻指南

    開啟貢獻指南

    從這裡開始

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

    研究方向

    從已上傳的 socket-test-freebsd-9-10-11-python-27-33-34-35.txt 工件開始,調查 socket.gethostbyname 入口點針對所回報的八進位 IP 行為的表現。檢視 issue 討論以確定預期結果,然後新增或更新測試涵蓋範圍,以便在受影響的 Python 版本和 macOS 情境中驗證該行為。

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

    評估

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

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

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