Skip to content

A more helpful ImportError message #73732

@warsaw

Description

@warsaw
BPO 29546
Nosy @warsaw, @brettcannon, @ilevkivskyi, @Carreau
PRs
  • bpo-29546: Set path on ImportError for from ... import #91
  • bpo-29546: Set path on ImportError for from ... import #91
  • bpo-29546: Set path on ImportError for from ... import #91
  • bpo-29546: Improve from-import error message with location #103
  • [Do Not Merge] Convert Misc/NEWS so that it is managed by towncrier #552
  • 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 2017-02-22.15:08:42.389>
    created_at = <Date 2017-02-13.16:30:11.090>
    labels = ['interpreter-core', 'type-feature', '3.7']
    title = 'A more helpful ImportError message'
    updated_at = <Date 2017-03-31.16:36:25.272>
    user = 'https://github.com/warsaw'

    bugs.python.org fields:

    activity = <Date 2017-03-31.16:36:25.272>
    actor = 'dstufft'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-02-22.15:08:42.389>
    closer = 'barry'
    components = ['Interpreter Core']
    creation = <Date 2017-02-13.16:30:11.090>
    creator = 'barry'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 29546
    keywords = []
    message_count = 8.0
    messages = ['287708', '287719', '287741', '287802', '287803', '287804', '287805', '290430']
    nosy_count = 4.0
    nosy_names = ['barry', 'brett.cannon', 'levkivskyi', 'mbussonn']
    pr_nums = ['91', '91', '91', '103', '552']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue29546'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions