Thanks to visit codestin.com
Credit goes to github.com

Skip to content

__dir__ on unittest.mock not safe for all spec types #80762

Description

@dsem
mannequin
BPO 36581
Nosy @cjw296, @voidspace, @mariocj89, @tirkarthi, @dsem, @iritkatriel
PRs
  • gh-80762: Fix dir() on MagicMock with tuple specs #12753
  • 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 2019-04-09.22:46:11.142>
    labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
    title = '__dir__ on unittest.mock not safe for all spec types'
    updated_at = <Date 2021-10-18.17:34:19.322>
    user = 'https://github.com/dsem'

    bugs.python.org fields:

    activity = <Date 2021-10-18.17:34:19.322>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2019-04-09.22:46:11.142>
    creator = 'Dylan Semler'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36581
    keywords = ['patch']
    message_count = 4.0
    messages = ['339813', '339815', '339819', '404202']
    nosy_count = 6.0
    nosy_names = ['cjw296', 'michael.foord', 'mariocj89', 'xtreak', 'Dylan Semler', 'iritkatriel']
    pr_nums = ['12753']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue36581'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.16new features, bugs and security fixesstdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions