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

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Mar 15 23:37:25 CET 2009


Raymond Hettinger wrote:

> 1.  Why mark a non-locale aware form with a flag that indicates
>     locale awareness in another language.
> 2.  It seems to be basic bad design to require an apostrophe
>     to emit commas.

Okay, so how about:

   comma - always use a comma

   apostrophe - use the locale

And for the decimal point:

   dot - always use a dot

   semicolon - use the locale

-- 
Greg



More information about the Python-ideas mailing list