Skip to content

Fix inaccurate TypeError messages when calling with insufficient arguments #83381

Description

@jferard
mannequin
BPO 39200
Nosy @vstinner, @corona10, @pablogsal, @jferard
PRs
  • bpo-39200: Correct the error message for range() empty constructor #17813
  • bpo-39200: Correct the error message for min/max builtin function #17814
  • [3.8] bpo-39200: Correct the error message for range() empty constructor (GH-17813) #17940
  • [3.8] bpo-39200: Correct the error message for min/max builtin function (GH-17814) #17941
  • [3.7] bpo-39200: Correct the error message for range() empty constructor (GH-17813) #17942
  • [3.7] bpo-39200: Correct the error message for min/max builtin function (GH-17814) #17943
  • 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 2020-01-15.21:52:16.646>
    created_at = <Date 2020-01-03.14:27:51.103>
    labels = ['interpreter-core', 'type-feature', '3.9']
    title = 'Fix inaccurate TypeError messages when calling with insufficient arguments'
    updated_at = <Date 2020-01-16.00:48:35.445>
    user = 'https://github.com/jferard'

    bugs.python.org fields:

    activity = <Date 2020-01-16.00:48:35.445>
    actor = 'corona10'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-01-15.21:52:16.646>
    closer = 'vstinner'
    components = ['Interpreter Core']
    creation = <Date 2020-01-03.14:27:51.103>
    creator = 'jferard'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 39200
    keywords = ['patch']
    message_count = 11.0
    messages = ['359236', '359243', '359363', '359423', '359736', '359737', '359738', '359739', '359776', '360081', '360091']
    nosy_count = 4.0
    nosy_names = ['vstinner', 'corona10', 'pablogsal', 'jferard']
    pr_nums = ['17813', '17814', '17940', '17941', '17942', '17943']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue39200'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.9 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions