[Python-Dev] Formatting mini-language suggestion (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Thu Mar 12 21:10:31 CET 2009
- Previous message: [Python-Dev] Formatting mini-language suggestion
- Next message: [Python-Dev] Formatting mini-language suggestion
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Formatting mini-language suggestion
- Next message: [Python-Dev] Formatting mini-language suggestion
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]