[I18n-sig] UCS-4 configuration

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Wed, 27 Jun 2001 18:27:41 +0200


> after a good night's sleep, I'm not sure Py_UNICODE_SIZE should
> be used for feature selection (especially not SIZE == 4).
> 
> I'd rather see a separate define for UCS-2/UTF-16 vs. UCS-4, which
> works no matter what the exact sizes are (as long as Py_UCS4 is at
> least 32 bits, and Py_UCS2 is at least 16 bits, of course).
> 
> (how about PY_UNICODE_WIDE?)

Normalizing everything to Py_UNICODE_WIDE sounds fine to me; I won't
start writing a patch for that, though. Feel free to get completely
rid of Py_UNICODE_SIZE in the process (and probably of
USE_UCS4_STORAGE as well).

> (and what's the deal with Py_ vs PY_ prefixes, btw?)

I took PY_ out of confusion, as mentioned in another message.

Regards,
Martin