[Python-Dev] proposal: evaluated string (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Fri Apr 21 10:43:24 CEST 2006
- Previous message: [Python-Dev] proposal: evaluated string
- Next message: [Python-Dev] SVN question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] proposal: evaluated string
- Next message: [Python-Dev] SVN question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]