Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #22444 > unrolled thread

Re: string interpolation for python

Started byYingjie Lan <lanyjie@yahoo.com>
First post2012-04-02 00:47 -0700
Last post2012-04-02 00:47 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: string interpolation for python Yingjie Lan <lanyjie@yahoo.com> - 2012-04-02 00:47 -0700

#22444 — Re: string interpolation for python

FromYingjie Lan <lanyjie@yahoo.com>
Date2012-04-02 00:47 -0700
SubjectRe: string interpolation for python
Message-ID<mailman.1201.1333353008.3037.python-list@python.org>
> Python already has *3* different built-in string

> formatting/interpolation systems:
...
> I would surmise that your key "implicitly grab variable values from
> the enclosing scope" feature has previously been rejected for being
> too magical.

It grabs because it is an expression in disguise (not a literal). 
If we could make that clear in the way we write it, seems the 
magic level should reduce.to a tolerable (or even likable) level.

Cheers,
Yingjie

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web