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 eric.smith
Recipients eric.smith, lys.nikolaou, macgors, pablogsal
Date 2022-03-26.16:57:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1648313860.83.0.0272278978833.issue47129@roundup.psfhosted.org>
In-reply-to
Content
I'm not convinced this is an improvement. I don't think someone trying '!' in an f-string expression happens often enough to worry about that specific error message.

And a generic "optional specifier" isn't great. If we're going to do this, it should reflect the actual thing that's present: a conversion specifier, a format specifier, or debug specifier. And "optional" doesn't add anything, since it's actually present in this string.

I'll give it some more thought. I can't come up with an error message I actually like. The focus still needs to be on the empty expression.
History
Date User Action Args
2022-03-26 16:57:40eric.smithsetrecipients: + eric.smith, lys.nikolaou, pablogsal, macgors
2022-03-26 16:57:40eric.smithsetmessageid: <1648313860.83.0.0272278978833.issue47129@roundup.psfhosted.org>
2022-03-26 16:57:40eric.smithlinkissue47129 messages
2022-03-26 16:57:40eric.smithcreate