Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

mock raises exception when using a spec with an attribute that raises exception on access #89917

Copy link
Copy link
@kjamieson

Description

@kjamieson
mannequin
Issue body actions
BPO 45756
Nosy @ambv, @hongweipeng, @tirkarthi, @sobolevn, @jaap3
PRs
  • bpo-45756: do not execute @property descrs while creating mock autospecs #29901
  • bpo-45756: Fix mock triggers dynamic lookup via the descriptor protocol. #31348
  • 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-11-08.19:47:53.494>
    labels = ['type-bug', '3.8', '3.9', '3.10', '3.11']
    title = 'mock raises exception when using a spec with an attribute that raises exception on access'
    updated_at = <Date 2022-02-15.06:36:26.841>
    user = 'https://bugs.python.org/kjamieson'

    bugs.python.org fields:

    activity = <Date 2022-02-15.06:36:26.841>
    actor = 'hongweipeng'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = []
    creation = <Date 2021-11-08.19:47:53.494>
    creator = 'kjamieson'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45756
    keywords = ['patch']
    message_count = 3.0
    messages = ['405982', '406284', '406452']
    nosy_count = 6.0
    nosy_names = ['lukasz.langa', 'hongweipeng', 'xtreak', 'sobolevn', 'kjamieson', 'jaap3']
    pr_nums = ['29901', '31348']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue45756'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10', 'Python 3.11']

    Reactions are currently unavailable

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixesonly security fixes3.11only security fixesonly security fixes3.8 (EOL)end of lifeend of life3.9 (EOL)end of lifeend of lifetype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
      No fields configured for issues without a type.

      Projects

      Status
      Done
      Show more project fields

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        Morty Proxy This is a proxified and sanitized view of the page, visit original site.