Skip to content

ipaddress.ip_network(...).hosts() returns nothing for an IPv4 /32 #72763

@era

Description

@era
mannequin
BPO 28577
Nosy @ncoghlan, @ethanfurman, @ambv, @zhangyangyu, @JamoBox
PRs
  • bpo-28577: Special case added to IP v4 and v6 hosts for /32 and /128 networks #18757
  • [3.6] bpo-28577: Special case added to IP v4 and v6 hosts for /32 and… #25532
  • [3.7] bpo-28577: Special case added to IP v4 and v6 hosts for /32 and… #25533
  • [3.8] bpo-28577: Special case added to IP v4 and v6 hosts for /32 and… #25536
  • 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 = <Date 2021-04-26.19:56:19.152>
    created_at = <Date 2016-11-01.07:02:04.765>
    labels = ['3.7', '3.8', 'type-bug', 'library']
    title = 'ipaddress.ip_network(...).hosts() returns nothing for an IPv4 /32'
    updated_at = <Date 2021-04-26.19:57:07.875>
    user = 'https://bugs.python.org/era'

    bugs.python.org fields:

    activity = <Date 2021-04-26.19:57:07.875>
    actor = 'lukasz.langa'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-04-26.19:56:19.152>
    closer = 'lukasz.langa'
    components = ['Library (Lib)']
    creation = <Date 2016-11-01.07:02:04.765>
    creator = 'era'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 28577
    keywords = ['patch']
    message_count = 15.0
    messages = ['279855', '279856', '279858', '279859', '279860', '279862', '279865', '279867', '314183', '355956', '363221', '363249', '363778', '368638', '391983']
    nosy_count = 7.0
    nosy_names = ['ncoghlan', 'pmoody', 'ethan.furman', 'lukasz.langa', 'era', 'xiang.zhang', 'Wicken']
    pr_nums = ['18757', '25532', '25533', '25536']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue28577'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions