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

Daniel Stutzbach wrote:
> 
> Daniel Stutzbach <dan...@stutzbachenterprises.com> added the comment:
> 
> Attached is a patch implementing the change agreed upon in the earlier 
> discussion.  This will allow wchar_t <-> Py_UNICODE conversions to use memcpy 
> on systems where wchar_t and Py_UNICODE have the same size but different 
> signs (e.g., Linux).

Please make sure that those places where you replaced HAVE_USABLE_WCHAR_T
are enclosed in

#ifdef HAVE_WCHAR_H
...
#endif

sections. For unicodeobject.c that's true, not sure about the other
places.

----------

_______________________________________
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