Skip to content

functools.singledispatch doesn't verify annotation is on FIRST parameter #84644

@Dutcho

Description

@Dutcho
mannequin
BPO 40464
Nosy @rhettinger, @ambv, @Dutcho, @FFY00, @VismantasD, @AlexWaygood
PRs
  • bpo-40464: fix return annotation being used as the arg annotation in singledispatch #19871
  • 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 2020-05-01.07:04:01.217>
    labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
    title = "functools.singledispatch doesn't verify annotation is on FIRST parameter"
    updated_at = <Date 2021-11-09.22:47:09.886>
    user = 'https://github.com/Dutcho'

    bugs.python.org fields:

    activity = <Date 2021-11-09.22:47:09.886>
    actor = 'AlexWaygood'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2020-05-01.07:04:01.217>
    creator = 'Dutcho'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40464
    keywords = ['patch']
    message_count = 4.0
    messages = ['367824', '368079', '368095', '406062']
    nosy_count = 6.0
    nosy_names = ['rhettinger', 'lukasz.langa', 'Dutcho', 'FFY00', 'bim_bam', 'AlexWaygood']
    pr_nums = ['19871']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue40464'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.13bugs and security fixes3.14bugs and security fixes3.15new features, bugs and security fixesstdlibStandard 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