Author eric.smith
Recipients BTaskaya, Erik Cederstrand, eric.smith, pablogsal
Date 2019-12-04.13:23:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1575465796.0.0.0071941609816.issue38964@roundup.psfhosted.org>
In-reply-to
Content
I agree that although the PEP says that's how it behaves, that shouldn't be prescriptive of the error message. Clearly we can be more helpful here.

I have a large, elaborate re-write of the error generating code that I've been working on, on and off for over a year, which would address this problem. I'm not sure when or if I'll finish it. It touches a lot of things, and my branch won't merge cleanly any more.

Additionally, the idea of moving f-strings into the Python grammar would also fix this problem. That might be a better way forward, although it has a number of downsides, too.
History
Date User Action Args
2019-12-04 13:23:16eric.smithsetrecipients: + eric.smith, Erik Cederstrand, pablogsal, BTaskaya
2019-12-04 13:23:16eric.smithsetmessageid: <1575465796.0.0.0071941609816.issue38964@roundup.psfhosted.org>
2019-12-04 13:23:15eric.smithlinkissue38964 messages
2019-12-04 13:23:15eric.smithcreate