Skip to content

Incorrect col_offset for decorators with zero arguments (empty parentheses) #82716

Closed
@alexmojaki

Description

@alexmojaki
BPO 38535
Nosy @serhiy-storchaka, @miss-islington, @alexmojaki
PRs
  • bpo-38535: Fix positions for AST nodes for calls without arguments in decorators. #16861
  • [3.8] bpo-38535: Fix positions for AST nodes for calls without arguments in decorators. (GH-16861) #16929
  • [3.7] bpo-38535: Fix positions for AST nodes for calls without arguments in decorators. (GH-16861). #16930
  • [2.7] bpo-38535: Fix positions for AST nodes for calls without arguments in decorators. (GH-16861). #16931
  • Files
  • decorator_python_bug.py
  • 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-10-26.15:44:57.173>
    created_at = <Date 2019-10-20.08:21:37.752>
    labels = ['interpreter-core', '3.8', 'type-bug', '3.7', '3.9']
    title = 'Incorrect col_offset for decorators with zero arguments (empty parentheses)'
    updated_at = <Date 2019-10-26.15:44:57.172>
    user = 'https://github.com/alexmojaki'

    bugs.python.org fields:

    activity = <Date 2019-10-26.15:44:57.172>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-10-26.15:44:57.173>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2019-10-20.08:21:37.752>
    creator = 'alexmojaki'
    dependencies = []
    files = ['48669']
    hgrepos = []
    issue_num = 38535
    keywords = ['patch']
    message_count = 6.0
    messages = ['354987', '354988', '355414', '355415', '355416', '355417']
    nosy_count = 3.0
    nosy_names = ['serhiy.storchaka', 'miss-islington', 'alexmojaki']
    pr_nums = ['16861', '16929', '16930', '16931']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue38535'
    versions = ['Python 2.7', '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.9only security fixesinterpreter-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