[Python-Dev] proposal: evaluated string
Greg Ewing
greg.ewing at canterbury.ac.nz
Fri Apr 21 10:43:24 CEST 2006
tomer filiba wrote:
> first of all -- i know there's a bunch of templating engines, but i
> think it should be a built-in feature of the language.
One fairly serious drawback to this idea is that it
inhibits i18n. For security reasons it has to be
implemented at compile time and only work on string
literals. But then you can't use an i18n package to
rewrite the string at run time. And trying to i18n
the component parts of the string doesn't work
because of grammatical differences between languages.
--
Greg
More information about the Python-Dev
mailing list