Skip to content

3.11 exec raises SystemError instead of SyntaxError on char after line continuation #89901

Closed
@pewscorner

Description

@pewscorner
mannequin
BPO 45738
Nosy @aroberge, @Carreau, @lysnikolaou, @Zac-HD, @pablogsal, @miss-islington, @isidentical, @pewscorner
PRs
  • bpo-45738: Fix computation of error location for invalid continuation characters in the parser #29550
  • [3.10] bpo-45738: Fix computation of error location for invalid continuation (GH-29550) #29551
  • [3.9] bpo-45738: Fix computation of error location for invalid continuation (GH-29550) #29552
  • 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-11-14.13:59:48.259>
    created_at = <Date 2021-11-06.13:10:51.997>
    labels = ['type-bug', '3.9', '3.11']
    title = '3.11 exec raises SystemError instead of SyntaxError on char after line continuation'
    updated_at = <Date 2021-11-14.18:39:21.628>
    user = 'https://github.com/pewscorner'

    bugs.python.org fields:

    activity = <Date 2021-11-14.18:39:21.628>
    actor = 'mbussonn'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-11-14.13:59:48.259>
    closer = 'pablogsal'
    components = []
    creation = <Date 2021-11-06.13:10:51.997>
    creator = 'pewscorner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45738
    keywords = ['patch']
    message_count = 12.0
    messages = ['405860', '406188', '406223', '406224', '406235', '406236', '406301', '406303', '406304', '406305', '406322', '406329']
    nosy_count = 8.0
    nosy_names = ['aroberge', 'mbussonn', 'lys.nikolaou', 'Zac Hatfield-Dodds', 'pablogsal', 'miss-islington', 'BTaskaya', 'pewscorner']
    pr_nums = ['29550', '29551', '29552']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue45738'
    versions = ['Python 3.9', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixes3.9only 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