Skip to content

functools' singledispatch does not support GenericAlias #90190

Closed
@kumaraditya303

Description

@kumaraditya303
BPO 46032
Nosy @rhettinger, @ambv, @serhiy-storchaka, @miss-islington, @uriyyo, @kumaraditya303, @AlexWaygood
PRs
  • bpo-46032: Check types in singledispatch's register() at declaration time #30050
  • [3.10] bpo-46032: Check types in singledispatch's register() at declaration time (GH-30050) #30254
  • [3.9] bpo-46032: Check types in singledispatch's register() at declaration time (GH-30050) (GH-30254) #30255
  • 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 = 'https://github.com/serhiy-storchaka'
    closed_at = <Date 2021-12-26.12:23:57.239>
    created_at = <Date 2021-12-10.09:04:56.137>
    labels = ['type-bug', '3.9', '3.10', '3.11', 'library', 'docs']
    title = "functools' singledispatch does not support GenericAlias"
    updated_at = <Date 2021-12-26.12:23:57.239>
    user = 'https://github.com/kumaraditya303'

    bugs.python.org fields:

    activity = <Date 2021-12-26.12:23:57.239>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2021-12-26.12:23:57.239>
    closer = 'serhiy.storchaka'
    components = ['Documentation', 'Library (Lib)']
    creation = <Date 2021-12-10.09:04:56.137>
    creator = 'kumaraditya'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46032
    keywords = ['patch']
    message_count = 9.0
    messages = ['408179', '408181', '408204', '408205', '408306', '408348', '409169', '409170', '409197']
    nosy_count = 7.0
    nosy_names = ['rhettinger', 'lukasz.langa', 'serhiy.storchaka', 'miss-islington', 'uriyyo', 'kumaraditya', 'AlexWaygood']
    pr_nums = ['30050', '30254', '30255']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue46032'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Linked PRs

    Metadata

    Metadata

    Labels

    3.10only security fixes3.11only security fixes3.9only security fixesdocsDocumentation in the Doc dirstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions