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

Raymond Hettinger python at rcn.com
Fri Mar 13 01:18:05 CET 2009


[Eric Smith]
> Decimal shouldn't really 
> have to completely reimplement locale-based formatting, especially when 
> it already exists in the core. I just want to expose it.

I see.  Sounds like you're looking for the parser to have some hooks
so that people writing new __format__ methods don't have to start
from scratch.


> I completely agree. That's why I said "But this is all orthogonal to the 
> str.format() discussion." I meant "orthogonal" in the "unrelated" sense.

Makes sense.  Hopefully, we can get this thread back on track for
evaluating the proposal for a minor buildout to the existing mini-language.



Raymond



More information about the Python-ideas mailing list