Skip to content

Move to absolute file paths for module.__file__ #62616

@brettcannon

Description

@brettcannon
BPO 18416
Nosy @brettcannon, @ronaldoussoren, @ncoghlan, @ericsnowcurrently
Files
  • Issue18416.patch: Initial attempt at patch that ensures module.file returns an absolute path
  • Issue18416_v2.patch: Removal of unnecessary decorator from test added to test_import
  • 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/brettcannon'
    closed_at = <Date 2013-10-18.15:41:11.635>
    created_at = <Date 2013-07-09.20:01:47.489>
    labels = ['interpreter-core', 'type-bug']
    title = 'Move to absolute file paths for module.__file__'
    updated_at = <Date 2013-10-18.16:01:35.866>
    user = 'https://github.com/brettcannon'

    bugs.python.org fields:

    activity = <Date 2013-10-18.16:01:35.866>
    actor = 'python-dev'
    assignee = 'brett.cannon'
    closed = True
    closed_date = <Date 2013-10-18.15:41:11.635>
    closer = 'brett.cannon'
    components = ['Interpreter Core']
    creation = <Date 2013-07-09.20:01:47.489>
    creator = 'brett.cannon'
    dependencies = []
    files = ['31236', '31248']
    hgrepos = []
    issue_num = 18416
    keywords = ['patch']
    message_count = 22.0
    messages = ['192772', '192817', '192830', '192841', '194224', '194555', '194560', '194588', '194591', '194596', '194637', '194663', '194778', '194829', '194831', '194840', '194911', '194918', '194978', '200276', '200277', '200280']
    nosy_count = 7.0
    nosy_names = ['brett.cannon', 'ronaldoussoren', 'ncoghlan', 'Arfrever', 'python-dev', 'eric.snow', 'madison.may']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue18416'
    versions = ['Python 3.4']

    Metadata

    Metadata

    Assignees

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions