Marc-Andre Lemburg <m...@egenix.com> added the comment:

Daniel Stutzbach wrote:
> 
> Daniel Stutzbach <dan...@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.

----------
title: 32-bit wchar_t doesn't need to be unsigned to be usable  (I think) -> 
32-bit wchar_t doesn't need to be unsigned to be usable (I think)

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8781>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to