From: Carl Witty Date: Sat, 27 Oct 2007 21:00:59 +0000 (-0700) Subject: PyObject_Hash returns long, not int X-Git-Tag: 0.9.6.14~29^2~102^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=882b87dd34b8c0050098c3b43776d1c85b494165;p=cython.git PyObject_Hash returns long, not int --- diff --git a/Cython/Compiler/Builtin.py b/Cython/Compiler/Builtin.py index eeec02a4..6651e50e 100644 --- a/Cython/Compiler/Builtin.py +++ b/Cython/Compiler/Builtin.py @@ -20,7 +20,7 @@ builtin_function_table = [ ('getattr', "OO", "O", "PyObject_GetAttr"), ('getattr3', "OOO", "O", "__Pyx_GetAttr3", "getattr"), ('hasattr', "OO", "b", "PyObject_HasAttr"), - ('hash', "O", "i", "PyObject_Hash"), + ('hash', "O", "l", "PyObject_Hash"), #('hex', "", "", ""), #('id', "", "", ""), #('input', "", "", ""),