Skip to content

Troubles with @runtime_checkable protocols #83089

@ilevkivskyi

Description

@ilevkivskyi
BPO 38908
Nosy @gvanrossum, @ilevkivskyi, @miss-islington, @uriyyo, @Fidget-Spinner
PRs
  • bpo-38908: Fix issue when non runtime_protocol does not raise TypeError #26067
  • [3.10] bpo-38908: Fix issue when non runtime_protocol failed to raise TypeError (GH-26067) #26073
  • [3.9] bpo-38908: Fix issue when non runtime_protocol does not raise TypeError (GH-26067) #26075
  • [3.9] Revert "[3.9] bpo-38908: Fix issue when non runtime_protocol does not raise TypeError (GH-26067)" #26077
  • bpo-38908: [docs] Add changes to 3.10 whatsnew and fix some minor inaccuracies in news #26096
  • [3.10] bpo-38908: [docs] Add changes to 3.10 whatsnew and fix some minor inaccuracies in news (GH-26096) #26337
  • 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-05-12.17:29:07.094>
    created_at = <Date 2019-11-24.17:39:56.423>
    labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
    title = 'Troubles with @runtime_checkable protocols'
    updated_at = <Date 2021-05-27.13:51:05.584>
    user = 'https://github.com/ilevkivskyi'

    bugs.python.org fields:

    activity = <Date 2021-05-27.13:51:05.584>
    actor = 'miss-islington'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-05-12.17:29:07.094>
    closer = 'kj'
    components = ['Library (Lib)']
    creation = <Date 2019-11-24.17:39:56.423>
    creator = 'levkivskyi'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 38908
    keywords = ['patch']
    message_count = 12.0
    messages = ['357400', '357555', '391292', '391318', '393511', '393516', '393517', '393528', '393532', '393536', '393537', '394540']
    nosy_count = 6.0
    nosy_names = ['gvanrossum', 'levkivskyi', 'Kevin Shweh', 'miss-islington', 'uriyyo', 'kj']
    pr_nums = ['26067', '26073', '26075', '26077', '26096', '26337']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue38908'
    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-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions