Skip to content

ast.unparse can't roundtrip some f-strings #72189

@ericvsmith

Description

@ericvsmith
BPO 28002
Nosy @simonpercivall, @ericvsmith, @berkerpeksag, @serhiy-storchaka, @pablogsal, @miss-islington, @remilapeyre, @isidentical, @loganasherjones, @hauntsaninja
PRs
  • bpo-28002: Roundtrip f-strings with ast.unparse better #19612
  • [3.9] bpo-28002: Roundtrip f-strings with ast.unparse better (GH-19612) #23430
  • 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/ericvsmith'
    closed_at = <Date 2020-11-20.21:53:16.672>
    created_at = <Date 2016-09-07.17:18:18.601>
    labels = ['type-bug', 'library', '3.9']
    title = "ast.unparse can't roundtrip some f-strings"
    updated_at = <Date 2020-11-20.21:55:43.133>
    user = 'https://github.com/ericvsmith'

    bugs.python.org fields:

    activity = <Date 2020-11-20.21:55:43.133>
    actor = 'eric.smith'
    assignee = 'eric.smith'
    closed = True
    closed_date = <Date 2020-11-20.21:53:16.672>
    closer = 'BTaskaya'
    components = ['Library (Lib)']
    creation = <Date 2016-09-07.17:18:18.601>
    creator = 'eric.smith'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 28002
    keywords = ['patch']
    message_count = 12.0
    messages = ['274841', '341502', '341512', '341633', '366481', '366796', '366800', '374724', '378530', '381507', '381509', '381510']
    nosy_count = 10.0
    nosy_names = ['simon.percivall', 'eric.smith', 'berker.peksag', 'serhiy.storchaka', 'pablogsal', 'miss-islington', 'remi.lapeyre', 'BTaskaya', 'loganasherjones', 'hauntsaninja']
    pr_nums = ['19612', '23430']
    priority = 'low'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue28002'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    Labels

    3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions