Skip to content

mock.seal has infinite recursion with int class attributes #89319

@dseomn

Description

@dseomn
mannequin
BPO 45156
Nosy @vstinner, @miss-islington, @tirkarthi, @sobolevn, @iritkatriel, @dseomn
PRs
  • bpo-45156: fixes inifite loop on mock.seal() #28300
  • [3.10] bpo-45156: Fixes inifite loop on unittest.mock.seal() (GH-28300) #28326
  • [3.9] bpo-45156: Fixes inifite loop on unittest.mock.seal() (GH-28300) #28327
  • 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 2021-09-16.13:22:23.550>
    created_at = <Date 2021-09-09.22:09:24.120>
    labels = ['3.10', 'library', '3.9', 'type-crash', '3.11']
    title = 'mock.seal has infinite recursion with int class attributes'
    updated_at = <Date 2021-09-16.13:22:23.549>
    user = 'https://github.com/dseomn'

    bugs.python.org fields:

    activity = <Date 2021-09-16.13:22:23.549>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-09-16.13:22:23.550>
    closer = 'vstinner'
    components = ['Library (Lib)']
    creation = <Date 2021-09-09.22:09:24.120>
    creator = 'dseomn'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45156
    keywords = ['patch']
    message_count = 8.0
    messages = ['401525', '401669', '401670', '401694', '401765', '401773', '401774', '401945']
    nosy_count = 6.0
    nosy_names = ['vstinner', 'miss-islington', 'xtreak', 'sobolevn', 'iritkatriel', 'dseomn']
    pr_nums = ['28300', '28326', '28327']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue45156'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-crashA hard crash of the interpreter, possibly with a core dump
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions