Windows: socket.gethostbyaddr(name) fails for non-ASCII hostname · Issue #70415 · python/cpython · GitHub
Skip to content

Windows: socket.gethostbyaddr(name) fails for non-ASCII hostname #70415

Description

@vstinner
BPO 26227
Nosy @pfmoore, @tjguk, @ezio-melotti, @zware, @serhiy-storchaka, @eryksun, @zooba, @Vgr255, @miss-islington
PRs
  • bpo-26227: Fixes decoding of host names on Windows from ANSI instead of UTF-8 #25510
  • [3.9] bpo-26227: Fixes decoding of host names on Windows from ANSI instead of UTF-8 (GH-25510) #25512
  • [3.8] bpo-26227: Fixes decoding of host names on Windows from ANSI instead of UTF-8 (GH-25510) #25513
  • Files
  • gethostbyaddr_encoding.patch
  • gethostbyaddr_encoding-2.patch
  • gethostbyaddr_encoding-3.patch
  • 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 = 'https://github.com/zooba'
    closed_at = <Date 2021-04-21.23:23:53.015>
    created_at = <Date 2016-01-28.00:58:50.855>
    labels = ['type-bug', '3.8', 'OS-windows', '3.10', 'library', 'expert-unicode', '3.9']
    title = 'Windows: socket.gethostbyaddr(name) fails for non-ASCII hostname'
    updated_at = <Date 2021-04-21.23:43:43.773>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2021-04-21.23:43:43.773>
    actor = 'miss-islington'
    assignee = 'steve.dower'
    closed = True
    closed_date = <Date 2021-04-21.23:23:53.015>
    closer = 'steve.dower'
    components = ['Library (Lib)', 'Unicode', 'Windows']
    creation = <Date 2016-01-28.00:58:50.855>
    creator = 'vstinner'
    dependencies = []
    files = ['41734', '41740', '41741']
    hgrepos = []
    issue_num = 26227
    keywords = ['patch', '3.6regression', '3.7regression', '3.8regression', '3.9regression', '3.10regression']
    message_count = 27.0
    messages = ['259078', '259085', '259092', '259106', '259108', '259111', '259112', '259113', '259129', '259131', '259133', '259134', '259135', '259136', '259137', '259138', '259208', '259212', '358409', '363709', '363710', '363712', '364114', '364116', '391559', '391563', '391564']
    nosy_count = 12.0
    nosy_names = ['paul.moore', 'tim.golden', 'ezio.melotti', 'python-dev', 'zach.ware', 'serhiy.storchaka', 'eryksun', 'steve.dower', 'abarry', 'miss-islington', 'williamdias', '\xd0\x92\xd0\xbb\xd0\xb0\xd0\xb4\xd0\xb8\xd0\xbc\xd0\xb8\xd1\x80 \xd0\x9c\xd0\xb0\xd1\x80\xd1\x82\xd1\x8c\xd1\x8f\xd0\xbd\xd0\xbe\xd0\xb2']
    pr_nums = ['25510', '25512', '25513']
    priority = 'high'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue26227'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixes3.8 (EOL)end of life3.9 (EOL)end of lifeOS-windowsstdlibStandard Library Python modules in the Lib/ directorytopic-unicodetype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions