New submission from Samisafool <thenerdiest...@gmail.com>:

SyntaxError when using dict key in fstring

Attached is a python file where this bug is visible.
The error is different on CPython 3.8 and 3.9/3.10, interestingly.
Occurs on CPython 3.8-10 and PyPy 3.8 7.3.7

Not sure which component to select, never filed a python bug report before. 
Hopefully this is correct.

----------
components: Interpreter Core
files: test.py
messages: 410079
nosy: Samisafool
priority: normal
severity: normal
status: open
title: SyntaxError when using dict key in fstring
type: crash
versions: Python 3.10, Python 3.8, Python 3.9
Added file: https://bugs.python.org/file50550/test.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46305>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to