[Python-ideas] Briefer string format
Eric V. Smith
eric at trueblade.com
Tue Jul 21 16:25:43 CEST 2015
More information about the Python-ideas mailing list
Tue Jul 21 16:25:43 CEST 2015
- Previous message (by thread): [Python-ideas] Briefer string format
- Next message (by thread): [Python-ideas] Briefer string format
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 7/21/2015 9:50 AM, Guido van Rossum wrote: > On Tue, Jul 21, 2015 at 3:05 PM, Nick Coghlan <ncoghlan at gmail.com > <mailto:ncoghlan at 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.
- Previous message (by thread): [Python-ideas] Briefer string format
- Next message (by thread): [Python-ideas] Briefer string format
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list