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 lemburg, loewis, pitrou, stutzbach
Date 2010-08-18.17:22:18
SpamBayes Score 7.336528e-07
Marked as misclassified No
Message-id <4C6C16C7.4040905@egenix.com>
In-reply-to <1282149253.26.0.90143522631.issue8781@psf.upfronthosting.co.za>
Content
Daniel Stutzbach wrote:
> 
> Daniel Stutzbach <daniel@stutzbachenterprises.com> added the comment:
> 
> Thanks.  I dug into that a little just now, and it turns out to happen automatically.
> 
> If ./configure doesn't define HAVE_WCHAR_H then it also will not define SIZEOF_WCHAR_T.  If SIZEOF_WCHAR_T is not defined, the preprocessor will treat it as 0 causing it to be unequal to Py_UNICODE_SIZE.  In other words, if HAVE_WCHAR_H is not defined then SIZEOF_WCHAR_T == Py_UNICODE_SIZE will be false.

Ok, thanks for checking.

Other than that detail, I think the patch looks good.
History
Date User Action Args
2010-08-18 17:22:20lemburgsetrecipients: + lemburg, loewis, pitrou, stutzbach
2010-08-18 17:22:18lemburglinkissue8781 messages
2010-08-18 17:22:18lemburgcreate