[Python-3000] interpolated strings

Antoine solipsis at pitrou.net
Wed Dec 6 15:37:01 CET 2006


> (people who do interpolation tend to expect dynamic lexical scoping, not
> static
> object binding...)

After thinking a bit about it, you are right. Or more precisely, "inline"
interpolation with literals is mainly useful for quick-and-dirty scripts
rather than full-blown apps.

(this "quick-and-dirty" vs. "full-blown" distinction has already been
discussed on this list without coming to a definite conclusion, IIRC; it
was in context of character set handling in file methods)





More information about the Python-3000 mailing list