[Python-Dev] proposal: evaluated string

Josiah Carlson jcarlson at uci.edu
Thu Apr 20 19:13:12 CEST 2006


"tomer filiba" <tomerfiliba at gmail.com> wrote:
> the evaluated string will be evaluated based on the current scope (locals
> and globals), just like
> normal expressions. the difference is, the results of the expressions will
> be str()ed into the
> evaluated string directly. these expressions will be embedded into the
> string surrounded by

-1  You are basically suggesting that e"..." be a replacement for
"..."%locals() .  That doesn't seem to me to be sufficiently compelling
(yes, I do use string interpolation).


 - Josiah



More information about the Python-Dev mailing list