
July 21, 2015
4:25 p.m.
On 7/21/2015 9:50 AM, Guido van Rossum wrote:
On Tue, Jul 21, 2015 at 3:05 PM, Nick Coghlan <ncoghlan@gmail.com <mailto: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?
I don't know. Either way there's going to be complaints about the inconsistencies. :-( I wish we hadn't done the {a[x]} part of PEP 3101, but it's too late now. :-(
Maybe we should deprecate it. I've never used it, and I don't think I've ever seen it in the wild. Eric.