[Python-ideas] Rough draft: Proposed format specifier for athousands separator (discussion moved from python-dev)

Raymond Hettinger python at rcn.com
Mon Mar 16 08:31:19 CET 2009


[Chris Rebert]
> This thread continues to get more complicated by the day...
> (Localization doth be *hard*)

Good thing the PEP is *not* about localization :-)
It does not attempt to cater to every possible way to write numbers.
Instead, it offers a handful of choices for thousands groupings.
At least one of those choices (perhaps spaces or underscores)
should be readable and useful in many (though not all) contexts.


Raymond



More information about the Python-ideas mailing list