[issue19424] _warnings: patch to avoid conversions from/to UTF-8

Vajrasky Kok report at bugs.python.org
Wed Oct 30 03:19:29 CET 2013


Vajrasky Kok added the comment:

Victor, I found out that this commit http://hg.python.org/cpython/rev/34e166d60f37 gives me compiler warning.

Objects/unicodeobject.c: In function ‘PyUnicode_CompareWithASCIIString’:
Objects/unicodeobject.c:10583:22: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
gcc -pthread -c -Wno-unused-result -Werror=declaration-after-statement -g -O0 -Wall -Wstrict-prototypes     -I. -IInclude -I./Include    -DPy_BUILD_CORE \

Attached the patch to remove the compiler warning.

----------
nosy: +vajrasky
Added file: http://bugs.python.org/file32419/remove_compiler_warning_pyunicode_compare_with_ascii_string.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19424>
_______________________________________


More information about the Python-bugs-list mailing list