This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Samisafool
Recipients Samisafool
Date 2022-01-08.07:54:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1641628447.27.0.922498430073.issue46305@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2022-01-08 07:54:07Samisafoolsetrecipients: + Samisafool
2022-01-08 07:54:07Samisafoolsetmessageid: <1641628447.27.0.922498430073.issue46305@roundup.psfhosted.org>
2022-01-08 07:54:07Samisafoollinkissue46305 messages
2022-01-08 07:54:07Samisafoolcreate