Skip to content

importlib.__import__ does not fail for invalid relative import #70555

@manueljacob

Description

@manueljacob
BPO 26367
Nosy @brettcannon, @terryjreedy, @ncoghlan, @ericsnowcurrently, @serhiy-storchaka, @manueljacob
Files
  • relimport-3.5.patch: Patch against 3.5 branch (without changes in Python/importlib.h)
  • relimport-3.6.patch: Patch against default branch (without changes in Python/importlib.h)
  • 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 2016-02-20.21:00:13.507>
    created_at = <Date 2016-02-16.00:59:01.193>
    labels = ['type-bug']
    title = 'importlib.__import__ does not fail for invalid relative import'
    updated_at = <Date 2017-07-23.06:44:07.815>
    user = 'https://github.com/manueljacob'

    bugs.python.org fields:

    activity = <Date 2017-07-23.06:44:07.815>
    actor = 'serhiy.storchaka'
    assignee = 'brett.cannon'
    closed = True
    closed_date = <Date 2016-02-20.21:00:13.507>
    closer = 'brett.cannon'
    components = []
    creation = <Date 2016-02-16.00:59:01.193>
    creator = 'mjacob'
    dependencies = []
    files = ['41937', '41938']
    hgrepos = []
    issue_num = 26367
    keywords = ['patch']
    message_count = 11.0
    messages = ['260338', '260461', '260484', '260486', '260491', '260540', '260575', '260576', '260599', '260623', '298891']
    nosy_count = 7.0
    nosy_names = ['brett.cannon', 'terry.reedy', 'ncoghlan', 'python-dev', 'eric.snow', 'serhiy.storchaka', 'mjacob']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'patch review'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue26367'
    versions = ['Python 3.3', 'Python 3.4', 'Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions