Skip to content

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

Description

@brettcannon
BPO26131
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=Noneclosed_at=<Date2020-12-07.21:27:33.787>created_at=<Date2016-01-15.21:44:04.899>labels= ['interpreter-core', 'type-bug']
    title='Raise ImportWarning when loader.load_module() is used'updated_at=<Date2020-12-14.13:06:12.676>user='https://github.com/brettcannon'

    bugs.python.org fields:

    activity=<Date2020-12-14.13:06:12.676>actor='vstinner'assignee='none'closed=Trueclosed_date=<Date2020-12-07.21:27:33.787>closer='brett.cannon'components= ['Interpreter Core']
    creation=<Date2016-01-15.21:44:04.899>creator='brett.cannon'dependencies= []
    files= []
    hgrepos= []
    issue_num=26131keywords= ['patch']
    message_count=14.0messages= ['258333', '347561', '347580', '349284', '349286', '349287', '349295', '379389', '382548', '382796', '382799', '382801', '382874', '382986']
    nosy_count=8.0nosy_names= ['brett.cannon', 'ncoghlan', 'vstinner', 'eric.snow', 'webknjaz', 'michaelanckaert', 'brandtbucher', 'nanjekyejoannah']
    pr_nums= ['22905', '23469']
    priority='normal'resolution='fixed'stage='resolved'status='closed'superseder=Nonetype='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