[Python-Dev] Re: Be Honest about LC_NUMERIC [REPOST] (original) (raw)

Tim Peters tim.one at comcast.net
Tue Sep 2 12:49:00 EDT 2003


[Tim]

if a C implementation does choose to support them, then the spellings for input are standardized, although a locale is allowed to produce any spellings whatsoever).

[martin at v.loewis.de]

Where exactly does it (C99) say that the spellings are locale-specific?

I can't find anything in the std supporting the claim. For that matter, I can't find anything in the std supporting the notion that a locale is allowed to insert thousand-separator characters either (can you?).

There's lots of stuff allowing a locale to accept locale-specific spellings (when parsing strings), in addition to the "C" locale spellings; the other direction (producing strings) appears much less permissive.



More information about the Python-Dev mailing list