From: Stefan Behnel Date: Sun, 31 Aug 2008 11:43:01 +0000 (+0200) Subject: Py3 compile fix X-Git-Tag: 0.9.9.2.beta~63^2~22 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4ae3356ba8c0c8800acd17c20fb9d0a427628229;p=cython.git Py3 compile fix --- diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index b8a29c74..c16b1116 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -4515,7 +4515,7 @@ static int __Pyx_SplitKeywords( if (!*name) { for (name = argnames; *name; name++) { #if PY_MAJOR_VERSION >= 3 - if (PyUnicode_GET_SIZE(**name) == PyUnicode_GET_SIZE(key)) && + if (PyUnicode_GET_SIZE(**name) == PyUnicode_GET_SIZE(key) && PyUnicode_Compare(**name, key) == 0) break; #else if (PyString_GET_SIZE(**name) == PyString_GET_SIZE(key) &&