Skip to content

FormattedValue expressions have wrong lineno and col_offset information #74650

@ambv

Description

@ambv
BPO 30465
Nosy @rhettinger, @vstinner, @ericvsmith, @ned-deily, @ambv, @serhiy-storchaka, @asottile
PRs
  • bpo-30465: Fix lineno and col_offset in fstring AST nodes #1800
  • [3.6] bpo-30465: Fix lineno and col_offset in fstring AST nodes (GH-1800) #3409
  • bpo-30465: Fix C downcast warning on Windows in ast.c #6593
  • [3.7] bpo-9566: Fix compiler warnings on Windows #12920
  • bpo-16806: Fix lineno and col_offset for multi-line string tokens. #10021
  • 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/ambv'
    closed_at = <Date 2017-10-04.12:08:59.860>
    created_at = <Date 2017-05-24.22:53:37.508>
    labels = ['type-bug', '3.7']
    title = 'FormattedValue expressions have wrong lineno and col_offset information'
    updated_at = <Date 2020-04-01.23:22:36.159>
    user = 'https://github.com/ambv'

    bugs.python.org fields:

    activity = <Date 2020-04-01.23:22:36.159>
    actor = 'Anthony Sottile'
    assignee = 'lukasz.langa'
    closed = True
    closed_date = <Date 2017-10-04.12:08:59.860>
    closer = 'eric.smith'
    components = []
    creation = <Date 2017-05-24.22:53:37.508>
    creator = 'lukasz.langa'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 30465
    keywords = ['3.6regression']
    message_count = 10.0
    messages = ['294408', '294423', '294866', '301368', '301551', '301563', '303571', '303680', '315971', '340699']
    nosy_count = 7.0
    nosy_names = ['rhettinger', 'vstinner', 'eric.smith', 'ned.deily', 'lukasz.langa', 'serhiy.storchaka', 'Anthony Sottile']
    pr_nums = ['1800', '3409', '6593', '12920', '10021']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue30465'
    versions = ['Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of lifetype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions