Skip to content

None value in sys.modules no longer blocks import #75823

@tiran

Description

@tiran
BPO 31642
Nosy @warsaw, @brettcannon, @ncoghlan, @tiran, @ericsnowcurrently, @serhiy-storchaka
PRs
  • bpo-31642: Restore blocking "from" import by setting None in sys.modules. #3834
  • [3.6] bpo-31642: Restore blocking "from" import by setting None in sys.modules. (GH-3834). #3923
  • 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-10-08.09:55:13.546>
    created_at = <Date 2017-09-29.20:21:12.164>
    labels = ['interpreter-core', 'type-bug', '3.7']
    title = 'None value in sys.modules no longer blocks import'
    updated_at = <Date 2017-10-08.09:55:13.493>
    user = 'https://github.com/tiran'

    bugs.python.org fields:

    activity = <Date 2017-10-08.09:55:13.493>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-10-08.09:55:13.546>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2017-09-29.20:21:12.164>
    creator = 'christian.heimes'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31642
    keywords = ['patch', '3.6regression']
    message_count = 5.0
    messages = ['303356', '303374', '303396', '303900', '303904']
    nosy_count = 6.0
    nosy_names = ['barry', 'brett.cannon', 'ncoghlan', 'christian.heimes', 'eric.snow', 'serhiy.storchaka']
    pr_nums = ['3834', '3923']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue31642'
    versions = ['Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifeinterpreter-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