Skip to content

isinstance(x, typing.Protocol-class) unexpectedly evaluates properties #89445

Closed as not planned
@daitakahashi

Description

@daitakahashi
BPO 45282
Nosy @AlexWaygood, @daitakahashi
Files
  • test_protocol_property.py: testcases
  • 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-09-24.13:25:14.862>
    labels = ['type-bug', '3.8', '3.9']
    title = 'isinstance(x, typing.Protocol-class) unexpectedly evaluates properties'
    updated_at = <Date 2021-09-24.14:52:18.540>
    user = 'https://github.com/daitakahashi'

    bugs.python.org fields:

    activity = <Date 2021-09-24.14:52:18.540>
    actor = 'AlexWaygood'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = []
    creation = <Date 2021-09-24.13:25:14.862>
    creator = 'daitakahashi'
    dependencies = []
    files = ['50303']
    hgrepos = []
    issue_num = 45282
    keywords = []
    message_count = 2.0
    messages = ['402562', '402567']
    nosy_count = 2.0
    nosy_names = ['AlexWaygood', 'daitakahashi']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue45282'
    versions = ['Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of life3.9only security fixestopic-typingtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions