Skip to content

inspect.getmembers will call the instance __bases__ attribute, which may cause an exception #90261

Closed
@hongweipeng

Description

@hongweipeng
BPO 46103
Nosy @terryjreedy, @pitrou, @ethanfurman, @1st1, @hongweipeng
PRs
  • bpo-46103: Fix inspect.getmembers call the instance __bases__ attribute which ma… #30147
  • 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 = None
    created_at = <Date 2021-12-16.15:40:43.879>
    labels = ['type-bug', 'library', '3.11']
    title = 'inspect.getmembers will call the instance __bases__ attribute, which may cause an exception'
    updated_at = <Date 2022-01-23.17:40:42.489>
    user = 'https://github.com/hongweipeng'

    bugs.python.org fields:

    activity = <Date 2022-01-23.17:40:42.489>
    actor = 'ethan.furman'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2021-12-16.15:40:43.879>
    creator = 'hongweipeng'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46103
    keywords = ['patch']
    message_count = 3.0
    messages = ['408717', '408827', '411389']
    nosy_count = 6.0
    nosy_names = ['ping', 'terry.reedy', 'pitrou', 'ethan.furman', 'yselivanov', 'hongweipeng']
    pr_nums = ['30147']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue46103'
    versions = ['Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixesstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions