Skip to content

New parser considers empty line following a backslash to be a syntax error, old parser didn't #85024

@adamwill

Description

@adamwill
mannequin
BPO 40847
Nosy @gvanrossum, @tiran, @benjaminp, @1st1, @AdamWill, @lysnikolaou, @pablogsal, @miss-islington
PRs
  • bpo-40847: Consider a line with only a LINECONT a blank line #20769
  • [3.9] bpo-40847: Consider a line with only a LINECONT a blank line (GH-20769) #20795
  • 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 2020-06-10.23:56:48.020>
    created_at = <Date 2020-06-02.19:03:34.691>
    labels = ['interpreter-core', 'type-bug', '3.9', '3.10']
    title = "New parser considers empty line following a backslash to be a syntax error, old parser didn't"
    updated_at = <Date 2020-06-11.00:14:24.272>
    user = 'https://github.com/adamwill'

    bugs.python.org fields:

    activity = <Date 2020-06-11.00:14:24.272>
    actor = 'miss-islington'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-06-10.23:56:48.020>
    closer = 'pablogsal'
    components = ['Interpreter Core']
    creation = <Date 2020-06-02.19:03:34.691>
    creator = 'adamwill'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40847
    keywords = ['patch']
    message_count = 7.0
    messages = ['370618', '370809', '370812', '371056', '371058', '371254', '371255']
    nosy_count = 8.0
    nosy_names = ['gvanrossum', 'christian.heimes', 'benjamin.peterson', 'yselivanov', 'adamwill', 'lys.nikolaou', 'pablogsal', 'miss-islington']
    pr_nums = ['20769', '20795']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue40847'
    versions = ['Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.9 (EOL)end of lifeinterpreter-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