Skip to content

typing: remove callable() check from typing._type_check #90802

@GBeauregard

Description

@GBeauregard
BPO 46644
Nosy @serhiy-storchaka, @ilevkivskyi, @JelleZijlstra, @sobolevn, @uriyyo, @Gobot1234, @Fidget-Spinner, @AlexWaygood, @GBeauregard
PRs
  • bpo-46644: Remove callable() requirement from typing._type_check #31151
  • bpo-46644: No longer accept arbitrary callables as type arguments in generics #31159
  • bpo-46644: Fix test_typing test broken by GH-31151 due to a merge race #31833
  • bpo-44799: Fix InitVar resolving using get_type_hints #27553
  • 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 2022-03-12.02:46:05.986>
    created_at = <Date 2022-02-04.23:02:57.948>
    labels = ['type-feature', 'library']
    title = 'typing: remove callable() check from typing._type_check'
    updated_at = <Date 2022-03-12.18:01:12.354>
    user = 'https://github.com/GBeauregard'

    bugs.python.org fields:

    activity = <Date 2022-03-12.18:01:12.354>
    actor = 'uriyyo'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-03-12.02:46:05.986>
    closer = 'JelleZijlstra'
    components = ['Library (Lib)']
    creation = <Date 2022-02-04.23:02:57.948>
    creator = 'GBeauregard'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46644
    keywords = ['patch']
    message_count = 17.0
    messages = ['412548', '412550', '412584', '412585', '412596', '412597', '412599', '412623', '412651', '412657', '412658', '412660', '412662', '414961', '414962', '414966', '414967']
    nosy_count = 9.0
    nosy_names = ['serhiy.storchaka', 'levkivskyi', 'JelleZijlstra', 'sobolevn', 'uriyyo', 'Gobot1234', 'kj', 'AlexWaygood', 'GBeauregard']
    pr_nums = ['31151', '31159', '31833', '27553']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue46644'
    versions = []

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibPython modules in the Lib dirtype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        pFad - Phonifier reborn

        Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

        Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


        Alternative Proxies:

        Alternative Proxy

        pFad Proxy

        pFad v3 Proxy

        pFad v4 Proxy