Skip to content

Python 3.4 gives wrong col_offset for Call nodes returned from ast.parse #65494

@aivarannamaa

Description

@aivarannamaa
BPO 21295
Nosy @brettcannon, @birkenfeld, @ncoghlan, @benjaminp, @florentx, @markshannon, @aivarannamaa
Files
  • py34_ast_call_bug.py: Small demonstration of the bug
  • 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 2015-02-02.15:53:31.829>
    created_at = <Date 2014-04-18.10:49:40.566>
    labels = ['interpreter-core', 'type-bug']
    title = 'Python 3.4 gives wrong col_offset for Call nodes returned from ast.parse'
    updated_at = <Date 2015-10-06.10:56:58.976>
    user = 'https://github.com/aivarannamaa'

    bugs.python.org fields:

    activity = <Date 2015-10-06.10:56:58.976>
    actor = 'Aivar.Annamaa'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-02-02.15:53:31.829>
    closer = 'python-dev'
    components = ['Interpreter Core']
    creation = <Date 2014-04-18.10:49:40.566>
    creator = 'Aivar.Annamaa'
    dependencies = []
    files = ['34962']
    hgrepos = []
    issue_num = 21295
    keywords = ['3.4regression']
    message_count = 21.0
    messages = ['216777', '216778', '216821', '216846', '221360', '235245', '235246', '235261', '235266', '237577', '237581', '237585', '237670', '237671', '237672', '237675', '251522', '252380', '252381', '252384', '252386']
    nosy_count = 10.0
    nosy_names = ['brett.cannon', 'georg.brandl', 'ncoghlan', 'benjamin.peterson', 'flox', 'Mark.Shannon', 'scummos', 'python-dev', 'Aivar.Annamaa', 'rnovacek']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue21295'
    versions = ['Python 3.4']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-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