Skip to content

Absolute/relative import not working? #43535

@mitchchapman

Description

@mitchchapman
BPO 1510172
Nosy @Yhg1s, @ncoghlan
Files
  • package.tgz: Re-creation of PEP 328 example package structure
  • main_relative_imports.diff: Allow relative imports from main when -m is used
  • 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/ncoghlan'
    closed_at = <Date 2007-12-03.13:03:08.768>
    created_at = <Date 2006-06-21.19:35:52.000>
    labels = ['interpreter-core', 'type-bug']
    title = 'Absolute/relative import not working?'
    updated_at = <Date 2007-12-03.13:03:08.767>
    user = 'https://bugs.python.org/mitchchapman'

    bugs.python.org fields:

    activity = <Date 2007-12-03.13:03:08.767>
    actor = 'ncoghlan'
    assignee = 'ncoghlan'
    closed = True
    closed_date = <Date 2007-12-03.13:03:08.768>
    closer = 'ncoghlan'
    components = ['Interpreter Core']
    creation = <Date 2006-06-21.19:35:52.000>
    creator = 'mitchchapman'
    dependencies = []
    files = ['2035', '2036']
    hgrepos = []
    issue_num = 1510172
    keywords = []
    message_count = 11.0
    messages = ['28851', '28852', '28853', '28854', '28855', '28856', '28857', '28858', '28859', '28860', '58121']
    nosy_count = 6.0
    nosy_names = ['twouters', 'nnorwitz', 'mitchchapman', 'ncoghlan', 'zseil', 'mnot']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue1510172'
    versions = ['Python 2.6']

    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