STINNER Victor <victor.stin...@gmail.com> added the comment:

Can you try to cast value to Py_UCS4 in assertions of
PyUnicode_WRITE() macro? For example, replace
   assert(value <= 0xff);
by
   assert((Py_UCS4)value <= 0xff);

----------

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

Reply via email to