Skip to content

Show "expected" token on syntax error #44453

@olivergramberg

Description

@olivergramberg
BPO 1634034
Nosy @rhettinger, @terryjreedy, @devdanzin, @benjaminp, @ezio-melotti, @davidmalcolm, @serhiy-storchaka, @pablogsal
PRs
  • bpo-1634034: Show "expected" token on syntax error. #6453
  • Files
  • pythonrun.patch: Patch for /Python/pythonrun.c
  • syntax-error-hints.patch
  • syntax-error-hints-3.4.patch
  • syntax-error-hints-3.4_2.patch
  • 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-03-27.21:22:06.519>
    created_at = <Date 2007-01-12.13:03:27.000>
    labels = ['interpreter-core', 'type-feature', '3.8']
    title = 'Show "expected" token on syntax error'
    updated_at = <Date 2021-03-27.21:22:06.518>
    user = 'https://bugs.python.org/olivergramberg'

    bugs.python.org fields:

    activity = <Date 2021-03-27.21:22:06.518>
    actor = 'pablogsal'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-03-27.21:22:06.519>
    closer = 'pablogsal'
    components = ['Interpreter Core']
    creation = <Date 2007-01-12.13:03:27.000>
    creator = 'oliver_gramberg'
    dependencies = []
    files = ['8286', '15860', '27530', '27708']
    hgrepos = []
    issue_num = 1634034
    keywords = ['patch']
    message_count = 16.0
    messages = ['54974', '54975', '54976', '84612', '97734', '113621', '172646', '173725', '173726', '179574', '179576', '179677', '179689', '315199', '389369', '389616']
    nosy_count = 10.0
    nosy_names = ['rhettinger', 'terry.reedy', 'sean_gillespie', 'ajaksu2', 'oliver_gramberg', 'benjamin.peterson', 'ezio.melotti', 'dmalcolm', 'serhiy.storchaka', 'pablogsal']
    pr_nums = ['6453']
    priority = 'normal'
    resolution = 'out of date'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue1634034'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (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