[issue2388] Compiler warnings when using UCS4

Benjamin Peterson report at bugs.python.org
Fri Mar 28 23:51:52 CET 2008


Benjamin Peterson <musiccomposition at gmail.com> added the comment:

This is because in UCS, Py_UNICODE is an unsigned long. In calls to
PyErr_Format, the format specifier %c (int, the UCS2 Py_UNICODE) is
given, so the compiler gives a warning.

----------
versions:  -Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2388>
__________________________________


More information about the Python-bugs-list mailing list