Message21984
test__locale fails on MacOS X. It didn't with Python 2.3.
I've written a small C program that can reproduce the problem:
------------ testme.c -------
#include <locale.h>
#include <stdio.h>
int main(void)
{
char* s;
struct lconv* conv;
s = setlocale(LC_NUMERIC, "it_IT");
printf("setlocale returned: %s\n", s);
conv = localeconv();
printf("conv->decimal_point == %s", conv->decimal_point);
return 0;
}
---------------
Compile this with 'cc -o testme testme.c' and it prints the right
anwser.
Compile this with 'cc -o testme testme.c -framework Foundation' or
'cc -o testme testme.c -framework CoreServices' and it fails'
Python is linked with both frameworks.... |
|
Date |
User |
Action |
Args |
2007-08-23 14:24:54 | admin | link | issue1005113 messages |
2007-08-23 14:24:54 | admin | create | |
|