[Python-Dev] proposal: evaluated string (original) (raw)
Josiah Carlson jcarlson at uci.edu
Thu Apr 20 19:13:12 CEST 2006
- Previous message: [Python-Dev] proposal: evaluated string
- Next message: [Python-Dev] proposal: evaluated string
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"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
- Previous message: [Python-Dev] proposal: evaluated string
- Next message: [Python-Dev] proposal: evaluated string
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]