Skip to content

imp.find_module() fails with a UnicodeDecodeError when called with non-ASCII search paths #48602

@JukkaAho

Description

@JukkaAho
mannequin
BPO 4352
Nosy @gvanrossum, @amauryfa, @vstinner, @benjaminp, @asvetlov
Files
  • find_module.py
  • test.py
  • 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 2010-10-17.20:37:08.933>
    created_at = <Date 2008-11-19.05:17:44.982>
    labels = ['interpreter-core', 'type-bug', 'library', 'expert-unicode', 'OS-windows']
    title = 'imp.find_module() fails with a UnicodeDecodeError when called with non-ASCII search paths'
    updated_at = <Date 2011-12-09.14:55:44.433>
    user = 'https://bugs.python.org/JukkaAho'

    bugs.python.org fields:

    activity = <Date 2011-12-09.14:55:44.433>
    actor = 'Serg.Asminog'
    assignee = 'none'
    closed = True
    closed_date = <Date 2010-10-17.20:37:08.933>
    closer = 'vstinner'
    components = ['Interpreter Core', 'Library (Lib)', 'Unicode', 'Windows']
    creation = <Date 2008-11-19.05:17:44.982>
    creator = 'Jukka Aho'
    dependencies = []
    files = ['12055', '23891']
    hgrepos = []
    issue_num = 4352
    keywords = []
    message_count = 20.0
    messages = ['76038', '76045', '76048', '83825', '83828', '83829', '84459', '84512', '84547', '106096', '107833', '108150', '112030', '118981', '149087', '149088', '149097', '149098', '149099', '149102']
    nosy_count = 7.0
    nosy_names = ['gvanrossum', 'amaury.forgeotdarc', 'vstinner', 'benjamin.peterson', 'Jukka Aho', 'asvetlov', 'Serg.Asminog']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue4352'
    versions = ['Python 3.0', 'Python 3.1']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      OS-windowsinterpreter-core(Objects, Python, Grammar, and Parser dirs)stdlibStandard 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