Compiling Python 2.5.2 on AIX 5.2

"Martin v. Löwis" martin at v.loewis.de
Wed Apr 16 02:33:13 EDT 2008


> What is Py_UNICODE_SIZE and why was it not defined?  There are current
> questions I have.

Py_UNICODE_SIZE is the number of bytes that a Py_UNICODE value should
have in the interpreter. With --enable-unicode=ucs2, it should be 2.

I cannot guess why it is not defined; check pyconfig.h to find out
whether there is a definition. If not, look in your configure output
for the line

checking what type to use for unicode...

and perhaps edit configure to print out additional messages around
the place where it deals with Py_UNICODE.

Regards,
Martin



More information about the Python-list mailing list