Skip to content

Error message differs when an expression is in an fstring #84448

Description

@lysnikolaou
BPO 40267
Nosy @gvanrossum, @ericvsmith, @lysnikolaou, @pablogsal, @isidentical
PRs
  • bpo-40267: Fix message when last input character produces a SyntaxError #19521
  • 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 2020-04-15.18:24:17.588>
    created_at = <Date 2020-04-12.21:59:24.577>
    labels = ['interpreter-core', 'type-bug', '3.9']
    title = 'Error message differs when an expression is in an fstring'
    updated_at = <Date 2020-04-15.18:24:17.587>
    user = 'https://github.com/lysnikolaou'

    bugs.python.org fields:

    activity = <Date 2020-04-15.18:24:17.587>
    actor = 'gvanrossum'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-04-15.18:24:17.588>
    closer = 'gvanrossum'
    components = ['Interpreter Core']
    creation = <Date 2020-04-12.21:59:24.577>
    creator = 'lys.nikolaou'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40267
    keywords = ['patch']
    message_count = 3.0
    messages = ['366272', '366273', '366535']
    nosy_count = 5.0
    nosy_names = ['gvanrossum', 'eric.smith', 'lys.nikolaou', 'pablogsal', 'BTaskaya']
    pr_nums = ['19521']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue40267'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.9 (EOL)end of lifeinterpreter-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