Skip to content

Raise ImportWarning when loader.load_module() is used #70319

Closed
@brettcannon

Description

@brettcannon
BPO 26131
Nosy @brettcannon, @ncoghlan, @vstinner, @ericsnowcurrently, @webknjaz, @MichaelAnckaert, @brandtbucher, @nanjekyejoannah
PRs
  • bpo-26131: deprecate the use of load_module() #22905
  • gh-70319: Deprecate usage of load_module() #23469
  • 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-12-07.21:27:33.787>
    created_at = <Date 2016-01-15.21:44:04.899>
    labels = ['interpreter-core', 'type-bug']
    title = 'Raise ImportWarning when loader.load_module() is used'
    updated_at = <Date 2020-12-14.13:06:12.676>
    user = 'https://github.com/brettcannon'

    bugs.python.org fields:

    activity = <Date 2020-12-14.13:06:12.676>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-12-07.21:27:33.787>
    closer = 'brett.cannon'
    components = ['Interpreter Core']
    creation = <Date 2016-01-15.21:44:04.899>
    creator = 'brett.cannon'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 26131
    keywords = ['patch']
    message_count = 14.0
    messages = ['258333', '347561', '347580', '349284', '349286', '349287', '349295', '379389', '382548', '382796', '382799', '382801', '382874', '382986']
    nosy_count = 8.0
    nosy_names = ['brett.cannon', 'ncoghlan', 'vstinner', 'eric.snow', 'webknjaz', 'michaelanckaert', 'brandtbucher', 'nanjekyejoannah']
    pr_nums = ['22905', '23469']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue26131'
    versions = ['Python 3.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      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