python / python/cpython

socket.gethostbyname resolving octal IP addresses incorrectly

オープン
#71,799 コメント 23 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

3.10 3.8 (EOL) 3.9 (EOL) OS-mac stdlib type-bug
主要言語
Python
スター
77.2k
フォーク
36k
PR マージ指標
PR 指標を取得中

説明

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. リポジトリをフォークし、ブランチを切って変更します。
    4. issue 番号を参照したプルリクエストを送ります。

    調査の方向性

    アップロードされた socket-test-freebsd-9-10-11-python-27-33-34-35.txt アーティファクトから始め、報告された 8 進数 IP の挙動についてエントリーポイント socket.gethostbyname を調査してください。期待される結果を確認するために issue の議論を確認し、その後、影響を受ける Python バージョン全体および macOS コンテキストで挙動を検証できるよう、テストカバレッジを追加または更新してください。

    索引モデルが issue の本文から書いたものです。

    評価

    技術スタック
    python
    領域
    networking
    issue の種類
    バグ
    難易度
    4/5
    見積もり時間
    3〜5日
    活発さ
    停滞
    明瞭さ
    説明が足りない
    初心者へのやさしさ
    35/100

    新しい issue をメールで受け取る

    初心者向けの GitHub issue を短くまとめたダイジェスト。