Skip to content

From ... import fails when parent package failed but child module succeeded, yet works in std import case #61916

@PascalChambon

Description

@PascalChambon
BPO 17716
Nosy @brettcannon, @ncoghlan, @ericsnowcurrently
Dependencies
  • bpo-17636: Modify IMPORT_FROM to fallback on sys.modules
  • Files
  • ImportFailPy2.zip
  • 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 2020-03-06.20:14:11.040>
    created_at = <Date 2013-04-13.16:04:56.978>
    labels = ['interpreter-core', 'type-bug']
    title = 'From ... import fails when parent package failed but child module succeeded, yet works in std import case'
    updated_at = <Date 2020-03-06.20:14:11.039>
    user = 'https://bugs.python.org/PascalChambon'

    bugs.python.org fields:

    activity = <Date 2020-03-06.20:14:11.039>
    actor = 'brett.cannon'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-03-06.20:14:11.040>
    closer = 'brett.cannon'
    components = ['Interpreter Core']
    creation = <Date 2013-04-13.16:04:56.978>
    creator = 'Pascal.Chambon'
    dependencies = ['17636']
    files = ['29798']
    hgrepos = []
    issue_num = 17716
    keywords = []
    message_count = 10.0
    messages = ['186738', '186760', '186890', '186892', '186947', '186986', '187025', '189765', '189799', '363540']
    nosy_count = 4.0
    nosy_names = ['brett.cannon', 'ncoghlan', 'eric.snow', 'Pascal.Chambon']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue17716'
    versions = ['Python 3.4']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions