[Python-Dev] Formatting mini-language suggestion
Greg Ewing
greg.ewing at canterbury.ac.nz
Fri Mar 13 11:07:18 CET 2009
Stephen J. Turnbull wrote:
> Greg Ewing writes:
> > If an app is using a particular thousands separator in
> > one place, it will probably want to use it everywhere.
>
> Not if that app is internationalized (eg, a webapp that serves both
> Americans and Chinese).
I don't think you'll want to code the separators into
all your format strings in that case, either. You'll
want some sort of context that you set up for the
page you're about to serve.
--
Greg
More information about the Python-Dev
mailing list