Skip to content

Confusing parsing error message when trying to use True as keyword argument #89879

Description

@cfbolz
mannequin
BPO 45716
Nosy @cfbolz, @aroberge, @lysnikolaou, @pablogsal
PRs
  • bpo-45716: Improve the error message when using True/False/None as keywords in a call #29413
  • [3.10] bpo-45716: Improve the error message when using True/False/None as keywords in a call (GH-29413) #29428
  • 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 2021-11-05.13:57:15.486>
    created_at = <Date 2021-11-04.17:45:48.986>
    labels = ['interpreter-core']
    title = 'Confusing parsing error message when trying to use True as keyword argument'
    updated_at = <Date 2021-11-16.22:31:49.761>
    user = 'https://github.com/cfbolz'

    bugs.python.org fields:

    activity = <Date 2021-11-16.22:31:49.761>
    actor = 'pablogsal'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-11-05.13:57:15.486>
    closer = 'pablogsal'
    components = ['Parser']
    creation = <Date 2021-11-04.17:45:48.986>
    creator = 'Carl.Friedrich.Bolz'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45716
    keywords = ['patch']
    message_count = 3.0
    messages = ['405741', '405798', '406439']
    nosy_count = 4.0
    nosy_names = ['Carl.Friedrich.Bolz', 'aroberge', 'lys.nikolaou', 'pablogsal']
    pr_nums = ['29413', '29428']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue45716'
    versions = []

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-core(Objects, Python, Grammar, and Parser dirs)

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions