Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #22444
| References | <CABgq=FyhR+Ldujj3YKRBpVXRVoeoayuXZviUUcNx-gXnFiHLSw@mail.gmail.com> <CACoeR0xV=28j6rFHm1ep3gzH9C0sbDqyxRRwX-JrVm3G+rrXww@mail.gmail.com> <1333174946.18436.YahooMailNeo@web121506.mail.ne1.yahoo.com> <CAMZYqRStW6da1mPHqe+V82Zy3Mvz+Y603_zo6jGLN0B3CAtREA@mail.gmail.com> |
|---|---|
| Date | 2012-04-02 00:47 -0700 |
| From | Yingjie Lan <lanyjie@yahoo.com> |
| Subject | Re: string interpolation for python |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1201.1333353008.3037.python-list@python.org> (permalink) |
> 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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: string interpolation for python Yingjie Lan <lanyjie@yahoo.com> - 2012-04-02 00:47 -0700
csiph-web