[Python-Dev] Re: python/dist/src/Objectsunicodeobject.c, 2.204, 2.205 (original) (raw)

Skip Montanaro skip at pobox.com
Sat Dec 20 11:27:34 EST 2003


Tim> [Guido]
>> I would expect that a lot of our code assumes 8-bit characters, and I
>> personally wouldn't mind if Python was limited to such platforms.

Tim> Fine by me too.

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?

Skip



More information about the Python-Dev mailing list