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

Martin v. Löwis martin at v.loewis.de
Sun Aug 31 04:03:44 EDT 2003

"Tim Peters" <tim.one at comcast.net> writes:

> 1. For string to double, preprocess the input string to change it to
>    use current-locale spelling before calling the platform C strtod().

I see (I was confused by the presence of a table of bytes). This is
much worse, then: How can it possibly know what formats the C library
expects in the current locale? What if the C library insists that a
thousands-separator is used when the locale has one?  etc.


More information about the Python-Dev mailing list