Skip to content

[Windows] Can't import extension modules resolved via relative paths in sys.path #87271

Closed
@smunday

Description

@smunday
mannequin
BPO 43105
Nosy @brettcannon, @gpshead, @pfmoore, @orsenthil, @tjguk, @zware, @eryksun, @zooba, @neonene
PRs
  • bpo-43105: Importlib now resolves relative paths when creating module spec objects from file locations #25121
  • [3.9] bpo-43105: Importlib now resolves relative paths when creating module spec objects from file locations (GH-25121) #25237
  • [3.8] bpo-43105: Importlib now resolves relative paths when creating module spec objects from file locations (GH-25121) #25318
  • 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-12.15:36:46.754>
    created_at = <Date 2021-02-02.17:03:00.187>
    labels = ['interpreter-core', '3.8', 'type-bug', 'library', 'OS-windows']
    title = "[Windows] Can't import extension modules resolved via relative paths in sys.path"
    updated_at = <Date 2021-06-14.06:28:27.775>
    user = 'https://bugs.python.org/smunday'

    bugs.python.org fields:

    activity = <Date 2021-06-14.06:28:27.775>
    actor = 'neonene'
    assignee = 'steve.dower'
    closed = True
    closed_date = <Date 2021-04-12.15:36:46.754>
    closer = 'steve.dower'
    components = ['Interpreter Core', 'Library (Lib)', 'Windows']
    creation = <Date 2021-02-02.17:03:00.187>
    creator = 'smunday'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43105
    keywords = ['patch']
    message_count = 13.0
    messages = ['386155', '386898', '387056', '389930', '390388', '390421', '390423', '390445', '390476', '390672', '393129', '395032', '395775']
    nosy_count = 10.0
    nosy_names = ['brett.cannon', 'gregory.p.smith', 'paul.moore', 'orsenthil', 'tim.golden', 'zach.ware', 'eryksun', 'steve.dower', 'neonene', 'smunday']
    pr_nums = ['25121', '25237', '25318']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue43105'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Assignees

    Labels

    3.8 (EOL)end of lifeOS-windowsinterpreter-core(Objects, Python, Grammar, and Parser dirs)stdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions