From: "Martin v. Loewis" <martin@v.loewis.de>
Replying To: Neil Hodgson <nhodgson@bigpond.net.au>
Date: Fri, 11 Jan 2002 06:26:27 +0100
Subject: Re: [Python-Dev] unicode/string asymmetries

> #define Py_UNICODE_SIZE sizeof(PY_UNICODE_TYPE)
>    ?

Because you cannot use that in preprocessor tests. If you do

#if Py_UNICODE_SIZE == SIZEOF_INT

then the preprocessor is not supposed to do this properly unless you
have a integral number on each side.

Regards,
Martin

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev