[ python-Bugs-1005113 ] test__locale fails on MacOS X
SourceForge.net
noreply at sourceforge.net
Sat Aug 7 17:10:02 CEST 2004
Bugs item #1005113, was opened at 2004-08-07 15:23
Message generated for change (Comment added) made by ronaldoussoren
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1005113&group_id=5470
Category: None
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Ronald Oussoren (ronaldoussoren)
Assigned to: Nobody/Anonymous (nobody)
Summary: test__locale fails on MacOS X
Initial Comment:
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....
----------------------------------------------------------------------
>Comment By: Ronald Oussoren (ronaldoussoren)
Date: 2004-08-07 17:10
Message:
Logged In: YES
user_id=580910
Because this seems to be a bug in OSX I've filed a bug at
bugreport.apple.com (radar#3754835)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1005113&group_id=5470
More information about the Python-bugs-list
mailing list