Skip to content

importlib: module.__spec__ leaks importlib namespaces (test_importlib leaked xxx references) #84231

@vstinner

Description

@vstinner
BPO 40050
Nosy @brettcannon, @ncoghlan, @vstinner, @ericsnowcurrently, @corona10, @shihai1991
PRs
  • Revert "bpo-1635741: Port _weakref extension module to multiphase initialization (PEP 489) (GH-19084)" #19128
  • bpo-40050: Fix importlib._bootstrap_external #19135
  • bpo-40050: Rephrase NEWS entry #19148
  • 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-24.17:15:43.538>
    created_at = <Date 2020-03-23.22:41:03.438>
    labels = ['tests', '3.9']
    title = 'importlib: module.__spec__ leaks  importlib namespaces (test_importlib leaked xxx references)'
    updated_at = <Date 2020-03-25.17:32:17.760>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2020-03-25.17:32:17.760>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-03-24.17:15:43.538>
    closer = 'vstinner'
    components = ['Tests']
    creation = <Date 2020-03-23.22:41:03.438>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40050
    keywords = ['patch']
    message_count = 16.0
    messages = ['364905', '364910', '364911', '364914', '364924', '364925', '364926', '364929', '364930', '364931', '364932', '364946', '364947', '364949', '364953', '365005']
    nosy_count = 6.0
    nosy_names = ['brett.cannon', 'ncoghlan', 'vstinner', 'eric.snow', 'corona10', 'shihai1991']
    pr_nums = ['19128', '19135', '19148']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue40050'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.9 (EOL)end of lifetestsTests in the Lib/test dir

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions