Rough draft: Proposed format specifier for a thousands separator

Hendrik van Rooyen mail at microcorp.co.za
Thu Mar 12 09:15:12 EDT 2009


"Ulrich Eckhardt" <eck...aser.com> wrote:

>IOW, why not explicitly say what you want using keyword arguments with
>defaults instead of inventing an IMHO cryptic, read-only mini-language?
>Seriously, the problem I see with this proposal is that its aim to be as
>short as possible actually makes the resulting format specifications
>unreadable. Could you even guess what "8T.,1f" should mean if you had not
>written this?

+1

Look back in history, and see how COBOL did it with the
PICTURE - dead easy and easily understandable.
Compared to that, even the C printf stuff  and python's %
are incomprehensible.

- Hendrik





More information about the Python-list mailing list