python / python/cpython

ipaddress.IPv4Network allows prefix > 32

Open
#80,170 7 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 35989
Nosy @pitrou, @matrixise, @jheiv, @remilapeyre, @tirkarthi
PRs
  • python/cpython#11844
  • 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 2019-02-13.16:13:55.267>
    labels = ['3.7', 'type-bug', 'library']
    title = 'ipaddress.IPv4Network allows prefix > 32'
    updated_at = <Date 2019-05-18.12:19:37.025>
    user = 'https://bugs.python.org/JohnFlorian'
    

    bugs.python.org fields:

    activity = <Date 2019-05-18.12:19:37.025>
    actor = 'xtreak'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2019-02-13.16:13:55.267>
    creator = 'John Florian'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 35989
    keywords = ['patch']
    message_count = 5.0
    messages = ['335460', '335475', '337228', '337230', '342795']
    nosy_count = 6.0
    nosy_names = ['pitrou', 'matrixise', 'jedwards', 'John Florian', 'remi.lapeyre', 'xtreak']
    pr_nums = ['11844']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue35989'
    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 reviewing the existing PR #11844 and the ipaddress.IPv4Network entry point; the issue does not name a source file or test. Reproduce the prefix-greater-than-32 behavior, then identify the relevant regression-test location and verify the corrected validation there.

    Written by the indexing model from the issue text.

    Assessment

    Tech stack
    python
    Domain
    networking
    Issue type
    Bug
    Difficulty
    3/5
    Estimated time
    1-2 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.