Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Py3k] SyntaxError cursor shifted if multibyte character is in line. #46635

Closed
@ocean-city

Description

@ocean-city
BPO 2382
Nosy @terryjreedy, @amauryfa, @abalkin, @vstinner, @ezio-melotti, @akheron, @serhiy-storchaka
Files
  • py3k_adjust_cursor_at_syntax_error.patch
  • traceback_adjust_cursor.patch
  • py3k_adjust_cursor_at_syntax_error_v2.patch
  • issue2382.patch
  • unicode_utf8size.patch
  • unicode_width.patch
  • adjust_offset.patch
  • print_exception.patch
  • test.py
  • adjust_offset_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 = None
    created_at = <Date 2008-03-18.05:22:30.823>
    labels = ['interpreter-core', 'type-bug']
    title = '[Py3k] SyntaxError cursor shifted if multibyte character is in line.'
    updated_at = <Date 2018-08-18.21:23:35.490>
    user = 'https://bugs.python.org/ocean-city'

    bugs.python.org fields:

    activity = <Date 2018-08-18.21:23:35.490>
    actor = 'terry.reedy'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2008-03-18.05:22:30.823>
    creator = 'ocean-city'
    dependencies = []
    files = ['11548', '11670', '11707', '13354', '13356', '13357', '13358', '13359', '30534', '31874']
    hgrepos = []
    issue_num = 2382
    keywords = ['patch']
    message_count = 29.0
    messages = ['63895', '63904', '64156', '73539', '74106', '74114', '74119', '74129', '74148', '74149', '74361', '74362', '83636', '83659', '83700', '83712', '83714', '140377', '149960', '172500', '172525', '190933', '190934', '198419', '208115', '208697', '228027', '228034', '323734']
    nosy_count = 11.0
    nosy_names = ['terry.reedy', 'amaury.forgeotdarc', 'belopolsky', 'vstinner', 'ocean-city', 'LambertDW', 'ezio.melotti', 'Arfrever', 'python-dev', 'petri.lehtinen', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue2382'
    versions = ['Python 3.3', 'Python 3.4']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions