Skip to content

SyntaxError should contain exact location of the invalid character in identifier #54593

@abalkin

Description

@abalkin
BPO 10384
Nosy @terryjreedy, @abalkin, @vstinner, @benjaminp, @ezio-melotti
Dependencies
  • bpo-10382: Command line error marker misplaced on unicode entry
  • Superseder
  • bpo-2382: [Py3k] SyntaxError cursor shifted if multibyte character is in line.
  • 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 2014-09-30.22:47:27.367>
    created_at = <Date 2010-11-11.01:32:52.997>
    labels = ['interpreter-core', 'type-feature']
    title = 'SyntaxError should contain exact location of the invalid character in identifier'
    updated_at = <Date 2018-08-18.21:30:39.793>
    user = 'https://github.com/abalkin'

    bugs.python.org fields:

    activity = <Date 2018-08-18.21:30:39.793>
    actor = 'terry.reedy'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-09-30.22:47:27.367>
    closer = 'vstinner'
    components = ['Interpreter Core']
    creation = <Date 2010-11-11.01:32:52.997>
    creator = 'belopolsky'
    dependencies = ['10382']
    files = []
    hgrepos = []
    issue_num = 10384
    keywords = []
    message_count = 7.0
    messages = ['120936', '121059', '228006', '228021', '228023', '228026', '323735']
    nosy_count = 5.0
    nosy_names = ['terry.reedy', 'belopolsky', 'vstinner', 'benjamin.peterson', 'ezio.melotti']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '2382'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue10384'
    versions = ['Python 3.2']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-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