Skip to content

functools.singledispatch: Misleading exception when calling without arguments #78148

@doerwalter

Description

@doerwalter
BPO 33967
Nosy @doerwalter, @vstinner, @methane, @serhiy-storchaka, @corona10, @ZackerySpytz, @miss-islington
PRs
  • bpo-33967: singledispatch raises TypeError when no positional arguments #8184
  • [3.7] bpo-33967: Fix singledispatch raised IndexError when no args (GH-8184) #8220
  • [3.6] bpo-33967: Fix singledispatch raised IndexError when no args (GH-8184) #8221
  • bpo-33967: Remove use of deprecated assertRaisesRegexp() #8261
  • [3.6] bpo-33967: Remove use of deprecated assertRaisesRegexp() (GH-8261) #8295
  • [3.7] bpo-33967: Remove use of deprecated assertRaisesRegexp() (GH-8261) #8296
  • bpo-33967: Fix wrong use of assertRaises #8306
  • bpo-33967: Fix wrong use of assertRaises #8306
  • [3.7] bpo-33967: Fix wrong use of assertRaises (GH-8306) #8308
  • [3.6] bpo-33967: Fix wrong use of assertRaises (GH-8306) #8309
  • 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 2018-07-17.06:20:39.742>
    created_at = <Date 2018-06-26.11:57:10.842>
    labels = ['3.7', '3.8', 'type-bug', 'library']
    title = 'functools.singledispatch: Misleading exception when calling without arguments'
    updated_at = <Date 2018-07-17.06:20:39.741>
    user = 'https://github.com/doerwalter'

    bugs.python.org fields:

    activity = <Date 2018-07-17.06:20:39.741>
    actor = 'methane'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-07-17.06:20:39.742>
    closer = 'methane'
    components = ['Library (Lib)']
    creation = <Date 2018-06-26.11:57:10.842>
    creator = 'doerwalter'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33967
    keywords = ['patch']
    message_count = 14.0
    messages = ['320485', '321259', '321313', '321359', '321363', '321365', '321512', '321514', '321725', '321727', '321743', '321789', '321792', '321794']
    nosy_count = 7.0
    nosy_names = ['doerwalter', 'vstinner', 'methane', 'serhiy.storchaka', 'corona10', 'ZackerySpytz', 'miss-islington']
    pr_nums = ['8184', '8220', '8221', '8261', '8295', '8296', '8306', '8306', '8308', '8309']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue33967'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (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