
July 21, 2015
6:50 p.m.
On Tue, 21 Jul 2015 at 14:14 Nick Coghlan <ncoghlan@gmail.com> wrote:
I wonder though, if we went with the f-strings idea, could we make them support a *subset* of the "str.format" call syntax, rather than a superset? What if they supported name and attribute lookup syntax, but not positional or subscript lookup?
Please don't do either. Python already has a surplus of string formatting mini-languages. Making a new one that is similar but not the same as one of the others is a recipe for confusion as well as an additional learning burden for new users of the language. -- Oscar