[Python-bugs-list] [ python-Bugs-534153 ] CODESET Doesn't Infer ERA et al.
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 24 Mar 2002 13:54:42 -0800
Bugs item #534153, was opened at 2002-03-24 00:31
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=534153&group_id=5470
Category: Build
Group: Python 2.2.1 candidate
Status: Open
Resolution: None
Priority: 5
Submitted By: Ralph Corderoy (ralph)
>Assigned to: Martin v. Löwis (loewis)
Summary: CODESET Doesn't Infer ERA et al.
Initial Comment:
Under AIX 3.2, /usr/include/langinfo.h contains
#define CODESET 49
but doesn't mention any of
T_FMT_AMPM ERA ERA_D_FMT ERA_D_T_FMT ERA_T_FMT
ALT_DIGITS YESEXPR NOEXPR
causing compilation of Modules/_localemodule.c to fail
as these are all assumed if CODESET is defined (line
487).
Not au fait with the specifics of locale I can only
suggest a different preprocessor test is used. At
worse case, a #ifdef conditional for each of the
symbols above, only using them if they're defined.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=534153&group_id=5470