python / python/cpython

ipaddress.IPv{4,6}Network.reverse_pointer is broken

Open
#74,713 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.7 (EOL) stdlib type-bug
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

BPO 30528
Nosy @ronaldoussoren, @hvenev, @bbayles, @ekohl, @Forst
PRs
  • python/cpython#3632
  • python/cpython#25371
  • python/cpython#29011
  • 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 2017-05-31.17:15:31.414>
    labels = ['3.7', 'type-bug', 'library']
    title = 'ipaddress.IPv{4,6}Network.reverse_pointer is broken'
    updated_at = <Date 2021-10-17.17:38:56.782>
    user = 'https://github.com/hvenev'
    

    bugs.python.org fields:

    activity = <Date 2021-10-17.17:38:56.782>
    actor = 'forst'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2017-05-31.17:15:31.414>
    creator = 'h.venev'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 30528
    keywords = ['patch']
    message_count = 8.0
    messages = ['294854', '302390', '311869', '313675', '313750', '390880', '390884', '404144']
    nosy_count = 8.0
    nosy_names = ['ronaldoussoren', 'pmoody', 'python-dev', 'h.venev', 'bbayles', 'ekohl', 'jana', 'forst']
    pr_nums = ['3632', '25371', '29011']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue30528'
    versions = ['Python 3.7']
    

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    Research direction

    Start by inspecting the Python ipaddress module's IPv4Network and IPv6Network reverse_pointer entry points, then review the linked pull requests and the issue discussion to understand the broken behavior. Confirm the expected reverse-pointer result and add or update regression coverage so the corrected behavior is verified.

    Written by the indexing model from the issue text.

    Assessment

    Tech stack
    python
    Domain
    backend
    Issue type
    Bug
    Difficulty
    4/5
    Estimated time
    3-5 days
    Activity status
    Stale
    Clarity
    Needs clarification
    Newbie friendliness
    25/100

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.