Message99316
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) |
|
Date |
User |
Action |
Args |
2010-02-13 13:36:16 | skrah | set | recipients:
+ skrah, ggenellina, robin.stocker, retoo |
2010-02-13 13:36:16 | skrah | set | messageid: <1266068176.39.0.00457464183307.issue5125@psf.upfronthosting.co.za> |
2010-02-13 13:35:16 | skrah | link | issue5125 messages |
2010-02-13 13:35:15 | skrah | create | |
|