Skip to content

Generator expression has wrong line/col info when inside a Call object #83416

Description

@lysnikolaou
BPO 39235
Nosy @gvanrossum, @serhiy-storchaka, @lysnikolaou, @pablogsal, @miss-islington
PRs
  • bpo-39235: Fix end location for genexp in call args #17925
  • bpo-39235: Check end_lineno and end_col_offset of AST nodes. #17926
  • [3.8] bpo-39235: Fix end location for genexp in call args (GH-17925) #17927
  • 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-01-10.08:15:16.778>
    created_at = <Date 2020-01-06.19:27:27.233>
    labels = ['interpreter-core', 'type-bug', '3.8', '3.9']
    title = 'Generator expression has wrong line/col info when inside a Call object'
    updated_at = <Date 2020-01-10.08:15:16.776>
    user = 'https://github.com/lysnikolaou'

    bugs.python.org fields:

    activity = <Date 2020-01-10.08:15:16.776>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-01-10.08:15:16.778>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2020-01-06.19:27:27.233>
    creator = 'lys.nikolaou'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 39235
    keywords = ['patch']
    message_count = 9.0
    messages = ['359454', '359455', '359456', '359458', '359690', '359692', '359693', '359708', '359709']
    nosy_count = 5.0
    nosy_names = ['gvanrossum', 'serhiy.storchaka', 'lys.nikolaou', 'pablogsal', 'miss-islington']
    pr_nums = ['17925', '17926', '17927']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue39235'
    versions = ['Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.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