[Python-Dev] PEP 498: Naming (original) (raw)
Eric V. Smith eric at trueblade.com
Tue Sep 8 16:42:24 CEST 2015
- Previous message (by thread): [Python-Dev] PEP 498: Naming
- Next message (by thread): [Python-Dev] PEP 501 Shell Command Examples
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 09/08/2015 10:20 AM, Alexander Belopolsky wrote:
On Tue, Sep 8, 2015 at 2:37 AM, Mike Miller <python-ideas at mgmiller.net_ _<mailto:python-ideas at mgmiller.net>> wrote: To my knowledge there was i for interpolation, t for template, and e for expression suggested. Any better ideas?
I believe someone suggested !"..." as well. I still think f"..." notation is the best as long as these elements are called "format strings" in the documentation. After all, we don't call a unicode string "u-string" or bytes a "b-string". Given enough imagination someone may find not-safe-for-work associations in those abbreviations as well.
Agreed. I discussed it with Guido offline, and we agreed on sticking with f"" to tie in with str.format(), format(), format(), and format strings.
Eric.
- Previous message (by thread): [Python-Dev] PEP 498: Naming
- Next message (by thread): [Python-Dev] PEP 501 Shell Command Examples
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]