Skip to content

Misleading error message for except with missing parens (3.10.a5) #87315

Closed
@aroberge

Description

@aroberge
mannequin
BPO 43149
Nosy @aroberge, @lysnikolaou, @pablogsal, @miss-islington
PRs
  • bpo-43149: Improve error message for exception group without parentheses #24467
  • bpo-43149: Correct the syntax error message for multiple exception types #25996
  • [3.10] bpo-43149: Correct the syntax error message for multiple exception types (GH-25996) #25997
  • 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-02-07.18:42:41.526>
    created_at = <Date 2021-02-06.22:54:08.266>
    labels = ['type-bug', '3.10']
    title = 'Misleading error message for except with missing parens (3.10.a5)'
    updated_at = <Date 2021-05-09.21:14:08.771>
    user = 'https://github.com/aroberge'

    bugs.python.org fields:

    activity = <Date 2021-05-09.21:14:08.771>
    actor = 'pablogsal'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-02-07.18:42:41.526>
    closer = 'pablogsal'
    components = []
    creation = <Date 2021-02-06.22:54:08.266>
    creator = 'aroberge'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43149
    keywords = ['patch']
    message_count = 3.0
    messages = ['386570', '386601', '393337']
    nosy_count = 4.0
    nosy_names = ['aroberge', 'lys.nikolaou', 'pablogsal', 'miss-islington']
    pr_nums = ['24467', '25996', '25997']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue43149'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixestype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions