Stefan Krah <stefan-use...@bytereef.org> added the comment:

As an aside, I would not use atof(). Better use something like:

char *end;

f = strtod(input, &end);
if (*end != '\0') {
    PyErr_Format(PyExc_ValueError, "Could not convert: %s", end);
    return NULL;
}


I've two questions:

1) Does the problem still appear in Python3.1 or Python3.2?

2) What is the output of:
>>> import locale
>>> locale.setlocale(locale.LC_ALL)

----------
nosy: +skrah

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5125>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to