python-dev
[Prev] Thread [Next] | [Prev] Date [Next]
Re: [Python-Dev] Formatting mini-language suggestion Stephen J. Turnbull Fri Mar 13 01:00:18 2009
Greg Ewing writes: > Nick Coghlan wrote: > > > [[fill]align][sign][#][0][minimumwidth][,sep][.precision][type] > > > > 'sep' is the new field that defines the thousands separator. > > Wouldn't it be better to use a locale setting for this, > instead of having to specify it in every format string? Maybe, but the POSIX locale concept is broken (because it's process- global) in many contexts. Viz. > 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). _______________________________________________ Python-Dev mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/alexiscircle%40gmail.com
- Re: [Python-Dev] Formatting mini-language suggestion, (continued)
- Re: [Python-Dev] Formatting mini-language suggestion James Y Knight
- Re: [Python-Dev] Formatting mini-language suggestion Raymond Hettinger
- Re: [Python-Dev] Formatting mini-language suggestion Nick Coghlan
- Re: [Python-Dev] Formatting mini-language suggestion James Y Knight
- Re: [Python-Dev] Formatting mini-language suggestion Lie Ryan
- Re: [Python-Dev] Formatting mini-language suggestion Raymond Hettinger
- Re: [Python-Dev] Formatting mini-language suggestion Jeroen Ruigrok van der Werven
- Re: [Python-Dev] Formatting mini-language suggestion Ben Finney
- Re: [Python-Dev] Formatting mini-language suggestion Greg Ewing
Re: [Python-Dev] Formatting mini-language suggestion Greg Ewing
- Re: [Python-Dev] Formatting mini-language suggestion Stephen J. Turnbull <=
- Re: [Python-Dev] Formatting mini-language suggestion Greg Ewing
- Re: [Python-Dev] Formatting mini-language suggestion Stephen J. Turnbull