Message341464
FWIW, I think it's equally reasonable to allow assignment expressions directly in f-strings, as it is to require parentheses with a reference to the invalidity of top-level expressions.
That makes me lean towards adding a parse-time error message that suggests the right way to do it, and leave it out as a feature for now, because it risks conflicting with ":" as format separator. We do not know yet if we will really need this feature. It's easier to add the feature later, than to remove it again in case we find that it gets in the way more than it helps. |
|
Date |
User |
Action |
Args |
2019-05-05 17:56:28 | scoder | set | recipients:
+ scoder, barry, larry, eric.smith, SilentGhost, lukasz.langa, serhiy.storchaka, emilyemorehouse, xtreak |
2019-05-05 17:56:28 | scoder | set | messageid: <1557078988.1.0.528082531736.issue36798@roundup.psfhosted.org> |
2019-05-05 17:56:28 | scoder | link | issue36798 messages |
2019-05-05 17:56:27 | scoder | create | |
|