Skip to content

ast col_offset wrong for list comprehensions, generators and tuples #75424

@samuelcolvin

Description

@samuelcolvin
BPO 31241
Nosy @brettcannon, @benjaminp, @serhiy-storchaka, @1st1, @samuelcolvin
PRs
  • bpo-31241: Fix AST node position for list and generator comprehensions. #10633
  • 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 = 'https://github.com/serhiy-storchaka'
    closed_at = <Date 2018-11-27.07:42:56.775>
    created_at = <Date 2017-08-20.19:03:53.905>
    labels = ['interpreter-core', '3.8']
    title = 'ast col_offset wrong for list comprehensions, generators and tuples'
    updated_at = <Date 2018-11-27.07:42:56.773>
    user = 'https://github.com/samuelcolvin'

    bugs.python.org fields:

    activity = <Date 2018-11-27.07:42:56.773>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2018-11-27.07:42:56.775>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2017-08-20.19:03:53.905>
    creator = 'samuelcolvin'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31241
    keywords = ['patch']
    message_count = 5.0
    messages = ['300606', '330194', '330385', '330470', '330497']
    nosy_count = 5.0
    nosy_names = ['brett.cannon', 'benjamin.peterson', 'serhiy.storchaka', 'yselivanov', 'samuelcolvin']
    pr_nums = ['10633']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue31241'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Labels

    3.8 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions