20 Dec
2003
20 Dec
'03
2:06 p.m.
[Skip Montanaro]
Then how about adding
#if UCHAR_MAX != 255 #error "Python's source code currently assumes 8-bit characters." #endif
right after the HAVE_LIMITS_H test?
I wouldn't object. It should probably then also have #ifndef UCHAR_MAX #error ... #endif right before it, and stringobject.c's #if !defined(HAVE_LIMITS_H) && !defined(UCHAR_MAX) #define UCHAR_MAX 255 #endif should go away.