Skip to content

Signify that a SyntaxError comes from an fstring in the error message #85256

Description

@lysnikolaou
BPO 41084
Nosy @gvanrossum, @vstinner, @ericvsmith, @lysnikolaou, @pablogsal, @miss-islington
PRs
  • bpo-41084: Adjust message when an f-string expression causes a SyntaxError #21084
  • [3.9] bpo-41084: Adjust message when an f-string expression causes a SyntaxError (GH-21084) #21188
  • [3.9] bpo-41084: Fix test_fstring failure when using the old parser #21212
  • 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-06-29.13:03:43.826>
    created_at = <Date 2020-06-22.23:53:42.299>
    labels = ['interpreter-core', 'type-feature', '3.9', '3.10']
    title = 'Signify that a SyntaxError comes from an fstring in the error message'
    updated_at = <Date 2020-06-29.13:03:43.825>
    user = 'https://github.com/lysnikolaou'

    bugs.python.org fields:

    activity = <Date 2020-06-29.13:03:43.825>
    actor = 'lys.nikolaou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-06-29.13:03:43.826>
    closer = 'lys.nikolaou'
    components = ['Interpreter Core']
    creation = <Date 2020-06-22.23:53:42.299>
    creator = 'lys.nikolaou'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 41084
    keywords = ['patch']
    message_count = 11.0
    messages = ['372134', '372136', '372150', '372422', '372471', '372472', '372477', '372478', '372562', '372570', '372572']
    nosy_count = 6.0
    nosy_names = ['gvanrossum', 'vstinner', 'eric.smith', 'lys.nikolaou', 'pablogsal', 'miss-islington']
    pr_nums = ['21084', '21188', '21212']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue41084'
    versions = ['Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.9 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions