python-dev

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [Python-Dev] Formatting mini-language suggestion Greg Ewing Thu Mar 12 14:00:25 2009

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?
If an app is using a particular thousands separator in
one place, it will probably want to use it everywhere.

--
Greg
_______________________________________________
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