This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients ezio.melotti, lemburg, stutzbach, theller, vstinner
Date 2010-10-01.12:46:53
SpamBayes Score 2.1324737e-05
Marked as misclassified No
Message-id <4CA5D83B.1020707@egenix.com>
In-reply-to <1285936116.56.0.618887322547.issue8670@psf.upfronthosting.co.za>
Content
STINNER Victor wrote:
> 
> STINNER Victor <victor.stinner@haypocalc.com> added the comment:
> 
> I don't know how to test "if Py_UNICODE_SIZE == 4 && SIZEOF_WCHAR_T == 2". On Windows, sizeof(wchar_t) is 2, but it looks like Python is not prepared to have Py_UNICODE != wchar_t for is Windows implementation.
>
> wchar_t is 32 bits long on Linux and Mac OS X. So how can I test it? Or should we just drop support of "Py_UNICODE_SIZE == 4 && SIZEOF_WCHAR_T == 2"?

You can tweak the Windows pyconfig.h to use UCS4, AFAIK, if you want to
test drive this case.

But it's probably easier to configure with "gcc -fshort-wchar" on
Linux :-)

Dropping support for this is not a good idea.
History
Date User Action Args
2010-10-01 12:46:54lemburgsetrecipients: + lemburg, theller, vstinner, stutzbach, ezio.melotti
2010-10-01 12:46:53lemburglinkissue8670 messages
2010-10-01 12:46:53lemburgcreate