Skip to content

Inconsistency with lineno and col_offset info when parsing elif #83212

@lysnikolaou

Description

@lysnikolaou
BPO 39031
Nosy @lysnikolaou, @pablogsal, @miss-islington
PRs
  • bpo-39031: Include elif keyword when producing lineno/col-offset info for if_stmt #17582
  • [3.8] bpo-39031: Include elif keyword when producing lineno/col-offset info for if_stmt (GH-17582) #17583
  • [3.7] bpo-39031: Include elif keyword when producing lineno/col-offset info for if_stmt (GH-17582) #17584
  • [3.7] bpo-39031: Include elif keyword when producing lineno/col-offse… #17585
  • [3.8] bpo-39031: Include elif keyword when producing lineno/col-offset info for if_stmt (GH-17582) #17589
  • bpo-39031: Fix elif start column offset when there is an else following #17596
  • [3.8] bpo-39031: Fix elif start column offset when there is an else following (GH-17596) #17600
  • [3.7] bpo-39031: Fix elif start column offset when there is an else following (GH-17596). #17601
  • 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 2019-12-14.10:55:43.510>
    created_at = <Date 2019-12-12.20:15:06.983>
    labels = ['interpreter-core', '3.8', 'type-bug', '3.7', '3.9']
    title = 'Inconsistency with lineno and col_offset info when parsing elif'
    updated_at = <Date 2019-12-14.10:55:43.378>
    user = 'https://github.com/lysnikolaou'

    bugs.python.org fields:

    activity = <Date 2019-12-14.10:55:43.378>
    actor = 'pablogsal'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-12-14.10:55:43.510>
    closer = 'pablogsal'
    components = ['Interpreter Core']
    creation = <Date 2019-12-12.20:15:06.983>
    creator = 'lys.nikolaou'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 39031
    keywords = ['patch']
    message_count = 8.0
    messages = ['358304', '358306', '358308', '358309', '358332', '358338', '358376', '358387']
    nosy_count = 3.0
    nosy_names = ['lys.nikolaou', 'pablogsal', 'miss-islington']
    pr_nums = ['17582', '17583', '17584', '17585', '17589', '17596', '17600', '17601']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue39031'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of life3.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