Skip to content

infinite loop when running inspect.unwrap over unittest.mock.call #69718

@cjw296

Description

@cjw296
BPO 25532
Nosy @ncoghlan, @cjw296, @voidspace, @takluyver, @serhiy-storchaka, @1st1, @The-Compiler, @pstch
PRs
  • bpo-25532: Protect against infinite loops in inspect.unwrap() #1717
  • [3.6] bpo-25532: Protect against infinite loops in inspect.unwrap() (GH-1717) #3778
  • Files
  • blacklist-wrapped-in-mock-call.patch: Patch blacklisting wrapped as method name in mock.call
  • 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 2017-09-27.09:40:40.311>
    created_at = <Date 2015-11-01.23:50:17.845>
    labels = ['3.7', 'type-bug', 'library']
    title = 'infinite loop when running inspect.unwrap over unittest.mock.call'
    updated_at = <Date 2017-09-27.09:40:40.300>
    user = 'https://github.com/cjw296'

    bugs.python.org fields:

    activity = <Date 2017-09-27.09:40:40.300>
    actor = 'ncoghlan'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-09-27.09:40:40.311>
    closer = 'ncoghlan'
    components = ['Library (Lib)']
    creation = <Date 2015-11-01.23:50:17.845>
    creator = 'cjw296'
    dependencies = []
    files = ['44178']
    hgrepos = []
    issue_num = 25532
    keywords = ['patch', '3.5regression']
    message_count = 26.0
    messages = ['253885', '253887', '253903', '253954', '253975', '253976', '253986', '254726', '254839', '260458', '273254', '273265', '273270', '273272', '273273', '273333', '294142', '294168', '294172', '294215', '294255', '294282', '296947', '303104', '303106', '303117']
    nosy_count = 9.0
    nosy_names = ['ncoghlan', 'cjw296', 'michael.foord', 'takluyver', 'serhiy.storchaka', 'yselivanov', 'The Compiler', 'pstch', 'Patrick Grafe']
    pr_nums = ['1717', '3778']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue25532'
    versions = ['Python 3.5', 'Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions