[Python-Dev] PEP 215 redux: toward a simplified consensus?

Neil Schemenauer nas@python.ca
Mon, 25 Feb 2002 13:14:36 -0800


Fred L. Drake, Jr. wrote:
> This doesn't work as soon as the string is not a constant.  Many of
> the discussions at PythonLabs did not involve text included as part of
> an application's source, and the conversion operation would not be
> driven by application code but by library/service code.

Write a function or use %.  This is not a good reason to add a string
interpolation operator to the language.  Note that this does not mean
I'm against PEP 215.  PEP 215 proposes to solve a different problem and
should not be hijacked, IMHO.

  Neil