[Python-Dev] Re: Be Honest about LC_NUMERIC [REPOST]

Tim Peters tim.one at comcast.net
Mon Sep 1 22:27:17 EDT 2003

[Christian Reis]
> ...
> Are these representations (NaN, infinity, etc) LC_NUMERIC-dependent?
> Or, more generally, locale-dependent?

Don't know; C89 didn't say anything at all about them, so existing C
practice is all over the map; C99 does say something about them, but whether
a C99 compiler supports them is optional (support for them isn't mandatory;
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).

More information about the Python-Dev mailing list