Skip to content

Improve error messages for non-matching elif/else statements #89920

Open
@thatbirdguythatuknownot

Description

@thatbirdguythatuknownot
BPO 45759
Nosy @aroberge, @lysnikolaou, @pablogsal, @AlexWaygood, @thatbirdguythatuknownot
PRs
  • bpo-45759: Better error messages for non-matching 'elif'/'else' state… #29481
  • bpo-45759: Better error messages for non-matching 'elif'/'else' statements #29513
  • bpo-45759: Re: Better error messages for non-matching 'elif'/'else' statements #29775
  • 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 2021-11-08.23:51:38.287>
    labels = ['interpreter-core', 'type-bug', '3.10', '3.11']
    title = 'Improve error messages for non-matching `elif`/`else` statements'
    updated_at = <Date 2021-11-25.12:15:15.681>
    user = 'https://github.com/thatbirdguythatuknownot'

    bugs.python.org fields:

    activity = <Date 2021-11-25.12:15:15.681>
    actor = 'Crowthebird'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Parser']
    creation = <Date 2021-11-08.23:51:38.287>
    creator = 'Crowthebird'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45759
    keywords = ['patch']
    message_count = 2.0
    messages = ['405990', '405997']
    nosy_count = 5.0
    nosy_names = ['aroberge', 'lys.nikolaou', 'pablogsal', 'AlexWaygood', 'Crowthebird']
    pr_nums = ['29481', '29513', '29775']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue45759'
    versions = ['Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.12only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions